core/src/main/java/org/jruby/RubyBasicObject.java
@Override
    public RubyHash convertToHash() {
        Ruby runtime = metaClass.runtime;
        ThreadContext context = runtime.getCurrentContext();
        BasicObjectSites sites = sites(context);
        return (RubyHash) TypeConverter.convertToType(context, this, runtime.getHash(), sites.to_hash_checked);
    }
/**
     * Tries to convert this object to a Ruby Hash using the "to_hash" method.
     * @return hash representation of this
     */
Tries to convert this object to a Ruby Hash using the "to_hash" method.
@return hash representation of this
Tries to convert this object to a Ruby Hash using the " to_hash " method . @return hash representation of this
@Override
    public RubyHash convertToHash() {
        Ruby runtime = metaClass.runtime;
        ThreadContext context = runtime.getCurrentContext();
        BasicObjectSites sites = sites(context);
        return (RubyHash) TypeConverter.convertToType(context, this, runtime.getHash(), sites.to_hash_checked);
    }
@ Override public RubyHash convertToHash ( ) { Ruby runtime = metaClass . runtime ; ThreadContext context = runtime . getCurrentContext ( ) ; BasicObjectSites sites = sites ( context ) ; return ( RubyHash ) TypeConverter . convertToType ( context , this , runtime . getHash ( ) , sites . to_hash_checked ) ; }
Tries to convert this object to a Ruby Hash using the "to_hash" method.
Tries to convert this object to a Ruby Hash using the " to_hash " method .