core/src/main/java/org/jruby/RubyEnumerator.java
@JRubyMethod
    public IRubyObject each(ThreadContext context, Block block) {
        if (!block.isGiven()) return this;
        return __each__(context, block);
    }
/**
     * Send current block and supplied args to method on target. According to MRI
     * Block may not be given and "each" should just ignore it and call on through to
     * underlying method.
     */
Send current block and supplied args to method on target. According to MRI
Block may not be given and "each" should just ignore it and call on through to
underlying method.
Send current block and supplied args to method on target . According to MRI Block may not be given and " each " should just ignore it and call on through to underlying method .
@JRubyMethod
    public IRubyObject each(ThreadContext context, Block block) {
        if (!block.isGiven()) return this;
        return __each__(context, block);
    }
@ JRubyMethod public IRubyObject each ( ThreadContext context , Block block ) { if ( ! block . isGiven ( ) ) return this ; return __each__ ( context , block ) ; }
Send current block and supplied args to method on target.
Send current block and supplied args to method on target .