Package org.jruby.ext.set
Class RubySet.EachBody
java.lang.Object
org.jruby.runtime.BlockBody
org.jruby.runtime.JavaInternalBlockBody
org.jruby.ext.set.RubySet.EachBody
- Enclosing class:
- RubySet
-
Field Summary
Fields inherited from class org.jruby.runtime.BlockBody
NULL_BODY, signature, testBlockBody -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final IRubyObjectdoYield(ThreadContext context, Block block, IRubyObject value) Subclass specific yield implementation.protected final IRubyObjectdoYield(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self) Subclass specific yield implementation.yield(ThreadContext context, IRubyObject[] args) (package private) abstract IRubyObjectyieldImpl(ThreadContext context, IRubyObject val) Methods inherited from class org.jruby.runtime.JavaInternalBlockBody
call, call, getFile, getLine, getStaticScope, setStaticScope, yieldMethods inherited from class org.jruby.runtime.BlockBody
arity, call, call, call, call, call, call, call, call, callDirect, canCallDirect, getArgumentDescriptors, getSignature, getTestBlockBody, isGiven, prepareArgumentsForCall, testBlockBody, yield, yield, yield, yield, yieldDirect, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific
-
Constructor Details
-
EachBody
EachBody(Ruby runtime)
-
-
Method Details
-
yield
- Specified by:
yieldin classJavaInternalBlockBody
-
yieldImpl
-
doYield
protected final IRubyObject doYield(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self) Description copied from class:BlockBodySubclass specific yield implementation.Should not be called directly. Gets called by
BlockBody.yield(ThreadContext, Block, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject)after ensuring that all common yield logic is taken care of.- Overrides:
doYieldin classJavaInternalBlockBody
-
doYield
Description copied from class:BlockBodySubclass specific yield implementation.Should not be called directly. Gets called by
BlockBody.yield(ThreadContext, Block, org.jruby.runtime.builtin.IRubyObject)after ensuring that any common yield logic is taken care of.- Overrides:
doYieldin classJavaInternalBlockBody
-