Methods
Modifier and Type |
Method and Description |
protected void |
blockArgWarning(Ruby ruby,
int length) |
IRubyObject |
call(ThreadContext context,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
IRubyObject[] args,
Binding binding,
Block.Type type,
Block block) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Binding binding,
Block.Type type) |
IRubyObject |
call(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Binding binding,
Block.Type type) |
protected IRubyObject |
commonYieldPath(ThreadContext context,
IRubyObject[] args,
IRubyObject self,
RubyModule klass,
Binding binding,
Block.Type type,
Block block) |
protected IRubyObject[] |
convertToRubyArray(ThreadContext context,
IRubyObject[] args) |
String |
getFile()
Get the filename for this block
|
int |
getLine()
get The line number for this block
|
IRubyObject[] |
prepareArgumentsForCall(ThreadContext context,
IRubyObject[] args,
Block.Type type) |
protected IRubyObject[] |
prepareArgumentsForYield(ThreadContext context,
IRubyObject[] args,
Block.Type type) |
protected IRubyObject |
prepareSelf(Binding binding) |
IRubyObject |
yield(ThreadContext context,
IRubyObject value,
Binding binding,
Block.Type type) |
IRubyObject |
yield(ThreadContext context,
IRubyObject value,
IRubyObject self,
RubyModule klass,
boolean isArray,
Binding binding,
Block.Type type) |