Package org.jruby.javasupport.ext
Class JavaLang.Runnable.RunBody
java.lang.Object
org.jruby.runtime.BlockBody
org.jruby.runtime.JavaInternalBlockBody
org.jruby.javasupport.ext.JavaLang.Runnable.RunBody
- Enclosing class:
- JavaLang.Runnable
-
Field Summary
FieldsFields 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) final IRubyObjectyieldImpl(ThreadContext context) 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
-
Field Details
-
runnable
-
-
Constructor Details
-
RunBody
-
-
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
-