Methods
Modifier and Type |
Method and Description |
Arity |
arity()
What is the arity of this block?
|
IRubyObject |
call(ThreadContext context) |
IRubyObject |
call(ThreadContext context,
Block block) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0) |
IRubyObject |
call(ThreadContext context,
IRubyObject[] args) |
IRubyObject |
call(ThreadContext context,
IRubyObject[] args,
Block block) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
Block block) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
Block |
cloneBlock() |
Block |
cloneBlockAndFrame() |
Block |
cloneBlockForEval(IRubyObject self) |
boolean |
equals(Object other) |
void |
escape() |
Binding |
getBinding() |
BlockBody |
getBody() |
Frame |
getFrame()
Gets the frame.
|
RubyProc |
getProcObject()
Retrieve the proc object associated with this block
|
boolean |
isEscaped() |
boolean |
isGiven()
Is the current block a real yield'able block instead a null one
|
void |
setProcObject(RubyProc procObject)
Set the proc object associated with this block
|
IRubyObject |
yield(ThreadContext context,
boolean aValue)
Deprecated.
|
IRubyObject |
yield(ThreadContext context,
IRubyObject value) |
IRubyObject |
yield(ThreadContext context,
IRubyObject value,
boolean aValue)
Deprecated.
|
IRubyObject |
yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean aValue)
Deprecated.
|
IRubyObject |
yieldArray(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass) |
IRubyObject |
yieldNonArray(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass) |
IRubyObject |
yieldSpecific(ThreadContext context) |
IRubyObject |
yieldSpecific(ThreadContext context,
IRubyObject arg0) |
IRubyObject |
yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |