core/src/main/java/org/jruby/RubyDir.java
@JRubyMethod(name = "each_child", meta = true)
    public static IRubyObject each_child(ThreadContext context, IRubyObject recv, IRubyObject arg, IRubyObject encOpts, Block block) {
        Encoding encoding = getEncodingFromOpts(context, encOpts);

        return eachChildCommon(context, recv, RubyFile.get_path(context, arg), encOpts, block);
    }
/**
     * Executes the block once for each entry in the directory except
     * for "." and "..", passing the filename of each entry as parameter
     * to the block.
     */
Executes the block once for each entry in the directory except
for "." and "..", passing the filename of each entry as parameter
to the block.
Executes the block once for each entry in the directory except for " . " and " .. " passing the filename of each entry as parameter to the block .
@JRubyMethod(name = "each_child", meta = true)
    public static IRubyObject each_child(ThreadContext context, IRubyObject recv, IRubyObject arg, IRubyObject encOpts, Block block) {
        Encoding encoding = getEncodingFromOpts(context, encOpts);
        return eachChildCommon(context, recv, RubyFile.get_path(context, arg), encOpts, block);
    }
@ JRubyMethod ( name = "each_child" , meta = true ) public static IRubyObject each_child ( ThreadContext context , IRubyObject recv , IRubyObject arg , IRubyObject encOpts , Block block ) { Encoding encoding = getEncodingFromOpts ( context , encOpts ) ; return eachChildCommon ( context , recv , RubyFile . get_path ( context , arg ) , encOpts , block ) ; }
Executes the block once for each entry in the directory except
 for "."
Executes the block once for each entry in the directory except for " . "