public class NullBlockBody extends BlockBody
EMPTY_PARAMETER_LIST, NULL_BODY, signature| Constructor and Description | 
|---|
| NullBlockBody() | 
arity, call, call, call, call, call, callDirect, canCallDirect, getArgumentDescriptors, getSignature, isGiven, prepareArgumentsForCall, setEvalType, yield, yield, yield, yield, yieldDirectpublic IRubyObject call(ThreadContext context, Block block, IRubyObject[] args)
public IRubyObject call(ThreadContext context, Block block)
public IRubyObject yieldSpecific(ThreadContext context, Block block)
yieldSpecific in class BlockBodypublic IRubyObject call(ThreadContext context, Block block, IRubyObject arg0)
public IRubyObject yieldSpecific(ThreadContext context, Block block, IRubyObject arg0)
yieldSpecific in class BlockBodypublic IRubyObject call(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1)
public IRubyObject yieldSpecific(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1)
yieldSpecific in class BlockBodypublic IRubyObject call(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
public IRubyObject yieldSpecific(ThreadContext context, Block block, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
yieldSpecific in class BlockBodyprotected IRubyObject doYield(ThreadContext context, Block block, IRubyObject value)
BlockBody
 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.
protected IRubyObject doYield(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self)
BlockBody
 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.
public StaticScope getStaticScope()
getStaticScope in class BlockBodypublic void setStaticScope(StaticScope newScope)
setStaticScope in class BlockBodypublic String getFile()
BlockBodyCopyright © 2001-2016 JRuby. All Rights Reserved.