Package org.jruby
Class RubyEnumerable.EachWithIndex
java.lang.Object
org.jruby.RubyEnumerable.EachWithIndex
- All Implemented Interfaces:
BlockCallback
- Enclosing class:
- RubyEnumerable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(ThreadContext context, IRubyObject[] iargs, Block block) call(ThreadContext context, IRubyObject iarg, Block block) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jruby.runtime.BlockCallback
call, call, call, call
-
Field Details
-
index
private int index -
block
-
-
Constructor Details
-
Method Details
-
call
- Specified by:
callin interfaceBlockCallback
-
call
- Specified by:
callin interfaceBlockCallback
-