Methods
Modifier and Type |
Method and Description |
IRubyObject |
call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
String |
getFile()
Get the filename for this block
|
int |
getLine()
get The line number for this block
|
String[] |
getParameterList() |
static BlockBody |
newCompiledBlock(Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType,
String[] parameterList) |
static Block |
newCompiledClosure(ThreadContext context,
IRubyObject self,
Arity arity,
StaticScope scope,
CompiledBlockCallback19 callback,
boolean hasMultipleArgsHead,
int argumentType) |
static Block |
newCompiledClosure(ThreadContext context,
IRubyObject self,
BlockBody body) |
IRubyObject |
yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
yield(ThreadContext context,
IRubyObject args,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type) |
IRubyObject |
yield(ThreadContext context,
IRubyObject args,
IRubyObject self,
RubyModule klass,
boolean aValue,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
yieldSpecific(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
yieldSpecific(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
yieldSpecific(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |