| Modifier and Type | Field and Description |
|---|---|
| private Block | |
| private String | |
| private boolean | |
| private int | |
| private final Block. |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public RubyFixnum | |
| public RubyFixnum | |
| public IRubyObject | |
| public final IRubyObject | |
| public final IRubyObject | |
| public final IRubyObject | |
| public final IRubyObject | |
| public final IRubyObject | call(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block blockCallArg)
|
| public final IRubyObject | |
| public final IRubyObject | |
| public final IRubyObject | call(ThreadContext context, IRubyObject[] args, IRubyObject self, RubyModule sourceModule, Block passedBlock)
|
| public final IRubyObject | |
| private static IRubyObject[] | checkArityForLambda(ThreadContext context, Block.
|
| public static RubyClass | |
| public IRubyObject | dup(ThreadContext
the thread context context)Overrides default org. RubyMethod dup. |
| public IRubyObject | dup()
Overrides org. Implements org.
Deprecated
RubyMethod dup. |
| public Block | |
| private boolean | |
| private boolean | |
| private boolean | |
| public IRubyObject | |
| public static IRubyObject | newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
Create a new instance of a Proc object. |
| public static RubyProc | |
| public static RubyProc | |
| public static RubyProc | |
| public static RubyProc | |
| public static RubyProc | |
| public IRubyObject | op_equal(ThreadContext context, IRubyObject obj)
Overrides org. Implements org. rb_obj_equal Will by default use identity equality to compare objects. |
| public IRubyObject | |
| public IRubyObject | |
| private IRubyObject | |
| public static IRubyObject[] | prepareArgs(ThreadContext context, Block.
Deprecated
For non-lambdas transforms the given arguments appropriately for the given arity (i.e. trimming to one arg for fixed arity of one, etc.) Note nothing should be calling this any more. |
| private RubyProc | |
| public IRubyObject | |
| public IRubyObject | rbClone()
Overrides org. Implements org.
Deprecated
RubyMethod clone. |
| public IRubyObject | |
| public void | |
| private void | |
| private static JavaSites. | sites(ThreadContext context)
Hides org. Retrieve the call sites for this class. |
| public IRubyObject | |
| public RubyProc | |
| public IRubyObject |
| block | back to summary |
|---|---|
| private Block block | |
| file | back to summary |
|---|---|
| private String file | |
| fromMethod | back to summary |
|---|---|
| private boolean fromMethod | |
| line | back to summary |
|---|---|
| private int line | |
| type | back to summary |
|---|---|
| private final Block. | |
| RubyProc | back to summary |
|---|---|
| protected RubyProc(Ruby runtime, RubyClass rubyClass, Block. | |
| RubyProc | back to summary |
|---|---|
| protected RubyProc(Ruby runtime, RubyClass rubyClass, Block. Deprecated
| |
| RubyProc | back to summary |
|---|---|
| protected RubyProc(Ruby runtime, RubyClass rubyClass, Block. | |
| RubyProc | back to summary |
|---|---|
| public RubyProc(Ruby runtime, RubyClass rubyClass, Block block, String file, int line) | |
| arity | back to summary |
|---|---|
| public RubyFixnum arity()
Deprecated
| |
| arity | back to summary |
|---|---|
public RubyFixnum arity(ThreadContext context)
| |
| binding | back to summary |
|---|---|
public IRubyObject binding()
| |
| call | back to summary |
|---|---|
public final IRubyObject call(ThreadContext context, IRubyObject[] args, Block blockCallArg)
| |
| call | back to summary |
|---|---|
public final IRubyObject call(ThreadContext context, Block blockCallArg)
| |
| call | back to summary |
|---|---|
public final IRubyObject call(ThreadContext context, IRubyObject arg0, Block blockCallArg)
| |
| call | back to summary |
|---|---|
public final IRubyObject call(ThreadContext context, IRubyObject arg0, IRubyObject arg1, Block blockCallArg)
| |
| call | back to summary |
|---|---|
public final IRubyObject call(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block blockCallArg)
| |
| call | back to summary |
|---|---|
| public final IRubyObject call(ThreadContext context, IRubyObject arg) | |
| call | back to summary |
|---|---|
| public final IRubyObject call(ThreadContext context, IRubyObject... args) | |
| call | back to summary |
|---|---|
| public final IRubyObject call(ThreadContext context, IRubyObject[] args, IRubyObject self, RubyModule sourceModule, Block passedBlock) | |
| call | back to summary |
|---|---|
| public final IRubyObject call(ThreadContext context, IRubyObject[] args, IRubyObject self, Block passedBlock)
Deprecated
| |
| checkArityForLambda | back to summary |
|---|---|
| private static IRubyObject[] checkArityForLambda(ThreadContext context, Block. | |
| createProcClass | back to summary |
|---|---|
| public static RubyClass createProcClass(ThreadContext context, RubyClass Object) | |
| dup | back to summary |
|---|---|
| public IRubyObject dup(ThreadContext context) Overrides default org. Doc from org. RubyMethod dup.
| |
| dup | back to summary |
|---|---|
| public IRubyObject dup() Overrides org. Implements org. Doc from org. Deprecated
RubyMethod dup.
| |
| getBlock | back to summary |
|---|---|
| public Block getBlock() | |
| isFromMethod | back to summary |
|---|---|
| private boolean isFromMethod() | |
| isLambda | back to summary |
|---|---|
| private boolean isLambda() | |
| isThread | back to summary |
|---|---|
| private boolean isThread() | |
| lambda_p | back to summary |
|---|---|
public IRubyObject lambda_p(ThreadContext context)
| |
| newInstance | back to summary |
|---|---|
| public static IRubyObject newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) Create a new instance of a Proc object. We override this method (from RubyClass) since we need to deal with special case of Proc.new with no arguments or block arg. In this case, we need to check previous frame for a block to consume.
| |
| newProc | back to summary |
|---|---|
| public static RubyProc newProc(Ruby runtime, Block. Deprecated
| |
| newProc | back to summary |
|---|---|
| public static RubyProc newProc(Ruby runtime, Block block, Block. | |
| newProc | back to summary |
|---|---|
| public static RubyProc newProc(Ruby runtime, Block block, Block. Deprecated
| |
| newProc | back to summary |
|---|---|
| public static RubyProc newProc(Ruby runtime, Block block, Block. | |
| newProc | back to summary |
|---|---|
| public static RubyProc newProc(Ruby runtime, RubyClass clazz, Block block, Block. | |
| op_equal | back to summary |
|---|---|
| public IRubyObject op_equal(ThreadContext context, IRubyObject obj) Overrides org. Implements org. Doc from org. rb_obj_equal Will by default use identity equality to compare objects. This follows the Ruby semantics. The name of this method doesn't follow the convention because hierarchy problems
| |
| parameters | back to summary |
|---|---|
public IRubyObject parameters(ThreadContext context)
| |
| parameters | back to summary |
|---|---|
public IRubyObject parameters(ThreadContext context, IRubyObject opts)
| |
| parametersCommon | back to summary |
|---|---|
| private IRubyObject parametersCommon(ThreadContext context, boolean isLambda) | |
| prepareArgs | back to summary |
|---|---|
| public static IRubyObject[] prepareArgs(ThreadContext context, Block. Deprecated
For non-lambdas transforms the given arguments appropriately for the given arity (i.e. trimming to one arg for fixed arity of one, etc.) Note nothing should be calling this any more.
| |
| procDup | back to summary |
|---|---|
| private RubyProc procDup() | |
| rbClone | back to summary |
|---|---|
public IRubyObject rbClone(ThreadContext context)
| |
| rbClone | back to summary |
|---|---|
| public IRubyObject rbClone() Overrides org. Implements org. Doc from org. Deprecated
RubyMethod clone.
| |
| ruby2_keywords | back to summary |
|---|---|
public IRubyObject ruby2_keywords(ThreadContext context)
| |
| setFromMethod | back to summary |
|---|---|
| public void setFromMethod() | |
| setup | back to summary |
|---|---|
| private void setup(Ruby runtime, Block procBlock) | |
| sites | back to summary |
|---|---|
| private static JavaSites. Hides org. Doc from org. Retrieve the call sites for this class. It is expected that all Java-based core classes that do call site caching will have a similar method. | |
| source_location | back to summary |
|---|---|
public IRubyObject source_location(ThreadContext context)
| |
| to_proc | back to summary |
|---|---|
public RubyProc to_proc()
| |
| to_s | back to summary |
|---|---|
| public IRubyObject to_s(ThreadContext context) Overrides org.
| |