| Modifier and Type | Field and Description |
|---|---|
| private final ArgumentDescriptor[] | |
| private final CacheEntry | |
| private final String | |
| private final int | |
| private final String | |
| private final IRubyObject |
| Access | Constructor and Description |
|---|---|
| public | MethodBlockBody(StaticScope staticScope, Signature signature, CacheEntry entry, ArgumentDescriptor[] argsDesc, IRubyObject receiver, RubyModule originModule, String originName, String file, int line)
|
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | call(ThreadContext context, Block block, IRubyObject[] args)
Overrides org.
|
| public IRubyObject | call(ThreadContext context, Block block, IRubyObject[] args, Block blockArg)
Overrides org.
|
| public static Block | |
| protected IRubyObject | doYield(ThreadContext context, Block block, IRubyObject value)
Implements abstract org. Subclass specific yield implementation. |
| protected IRubyObject | doYield(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self)
Implements abstract org. Subclass specific yield implementation. |
| public ArgumentDescriptor[] | |
| public String | |
| public int | getLine()
Implements abstract org. get The line number for this block |
| argsDesc | back to summary |
|---|---|
| private final ArgumentDescriptor[] argsDesc | |
| entry | back to summary |
|---|---|
| private final CacheEntry entry | |
| file | back to summary |
|---|---|
| private final String file | |
| line | back to summary |
|---|---|
| private final int line | |
| originName | back to summary |
|---|---|
| private final String originName | |
| receiver | back to summary |
|---|---|
| private final IRubyObject receiver | |
| MethodBlockBody | back to summary |
|---|---|
| public MethodBlockBody(StaticScope staticScope, Signature signature, CacheEntry entry, ArgumentDescriptor[] argsDesc, IRubyObject receiver, RubyModule originModule, String originName, String file, int line) | |
| call | back to summary |
|---|---|
| public IRubyObject call(ThreadContext context, Block block, IRubyObject[] args) Overrides org.
| |
| call | back to summary |
|---|---|
| public IRubyObject call(ThreadContext context, Block block, IRubyObject[] args, Block blockArg) Overrides org.
| |
| createMethodBlock | back to summary |
|---|---|
| public static Block createMethodBlock(MethodBlockBody body) | |
| doYield | back to summary |
|---|---|
| protected IRubyObject doYield(ThreadContext context, Block block, IRubyObject value) Implements abstract org. Doc from org. Subclass specific yield implementation.
Should not be called directly. Gets called by
| |
| doYield | back to summary |
|---|---|
| protected IRubyObject doYield(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self) Implements abstract org. Doc from org. Subclass specific yield implementation.
Should not be called directly. Gets called by
| |
| getArgumentDescriptors | back to summary |
|---|---|
| public ArgumentDescriptor[] getArgumentDescriptors() Overrides org.
| |
| getFile | back to summary |
|---|---|
| public String getFile() Implements abstract org. Doc from org. Get the filename for this block
| |
| getLine | back to summary |
|---|---|
| public int getLine() Implements abstract org. Doc from org. get The line number for this block
| |