org.jruby
Class RubyEnumerator.ConsecutiveBlockCallback
java.lang.Object
org.jruby.RubyEnumerator.ConsecutiveBlockCallback
- All Implemented Interfaces:
- BlockCallback
- Enclosing class:
- RubyEnumerator
- public static class RubyEnumerator.ConsecutiveBlockCallback
- extends java.lang.Object
- implements BlockCallback
Block callback for viewing consecutive results from calling the client block
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cont
protected final RubyArray cont
contSize
protected final long contSize
clientBlock
protected final Block clientBlock
runtime
protected final Ruby runtime
RubyEnumerator.ConsecutiveBlockCallback
public RubyEnumerator.ConsecutiveBlockCallback(Ruby runtime,
Block clientBlock,
long contSize)
call
public IRubyObject call(ThreadContext context,
IRubyObject[] args,
Block block)
- Specified by:
call
in interface BlockCallback
Copyright © 2002-2007 JRuby Team. All Rights Reserved.