core/src/main/java/org/jruby/RubyBasicObject.java
@Override
    public RubyArray convertToArray() {
        Ruby runtime = metaClass.runtime;
        ThreadContext context = runtime.getCurrentContext();
        BasicObjectSites sites = sites(context);
        return (RubyArray) TypeConverter.convertToType(context, this, runtime.getArray(), sites.to_ary_checked);
    }
/**
     * Tries to convert this object to a Ruby Array using the "to_ary" method.
     * @return array representation of this
     */
Tries to convert this object to a Ruby Array using the "to_ary" method.
@return array representation of this
Tries to convert this object to a Ruby Array using the " to_ary " method . @return array representation of this
@Override
    public RubyArray convertToArray() {
        Ruby runtime = metaClass.runtime;
        ThreadContext context = runtime.getCurrentContext();
        BasicObjectSites sites = sites(context);
        return (RubyArray) TypeConverter.convertToType(context, this, runtime.getArray(), sites.to_ary_checked);
    }
@ Override public RubyArray convertToArray ( ) { Ruby runtime = metaClass . runtime ; ThreadContext context = runtime . getCurrentContext ( ) ; BasicObjectSites sites = sites ( context ) ; return ( RubyArray ) TypeConverter . convertToType ( context , this , runtime . getArray ( ) , sites . to_ary_checked ) ; }
Tries to convert this object to a Ruby Array using the "to_ary" method.
Tries to convert this object to a Ruby Array using the " to_ary " method .