static final class RubyEnumerable.EachWithIndex extends java.lang.Object implements BlockCallback
| Constructor and Description |
|---|
EachWithIndex(Block block) |
EachWithIndex(Block block,
int index) |
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject[] iargs,
Block block) |
private int index
private final Block block
EachWithIndex(Block block, int index)
EachWithIndex(Block block)
public IRubyObject call(ThreadContext context, IRubyObject[] iargs, Block block)
call in interface BlockCallback