core/src/main/java/org/jruby/RubyDir.java
@JRubyMethod(name = "entries", meta = true)
    public static RubyArray entries(ThreadContext context, IRubyObject recv, IRubyObject arg) {
        Ruby runtime = context.runtime;

        RubyString path = StringSupport.checkEmbeddedNulls(runtime, RubyFile.get_path(context, arg));

        return entriesCommon(context, path, runtime.getDefaultFilesystemEncoding(), false);
    }
/**
     * Returns an array containing all of the filenames in the given directory.
     */
Returns an array containing all of the filenames in the given directory.
Returns an array containing all of the filenames in the given directory .
@JRubyMethod(name = "entries", meta = true)
    public static RubyArray entries(ThreadContext context, IRubyObject recv, IRubyObject arg) {
        Ruby runtime = context.runtime;
        RubyString path = StringSupport.checkEmbeddedNulls(runtime, RubyFile.get_path(context, arg));
        return entriesCommon(context, path, runtime.getDefaultFilesystemEncoding(), false);
    }
@ JRubyMethod ( name = "entries" , meta = true ) public static RubyArray entries ( ThreadContext context , IRubyObject recv , IRubyObject arg ) { Ruby runtime = context . runtime ; RubyString path = StringSupport . checkEmbeddedNulls ( runtime , RubyFile . get_path ( context , arg ) ) ; return entriesCommon ( context , path , runtime . getDefaultFilesystemEncoding ( ) , false ) ; }
Returns an array containing all of the filenames in the given directory.
Returns an array containing all of the filenames in the given directory .