RubyMethod, RubyUnboundMethod
| Modifier and Type | Field and Description |
|---|---|
| protected CacheEntry | |
| protected RubyModule | |
| protected DynamicMethod | |
| protected String | |
| protected RubyModule | |
| protected String | |
| protected RubyModule |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public RubyFixnum | Returns: the number of arguments of a method.Returns the number of arguments a method accepted. |
| public RubyFixnum | |
| public boolean | equals(Object
object to compare other)Overrides org. This override does not do a "checked" dispatch. |
| public String | |
| public int | |
| public DynamicMethod | |
| public String | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public final IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyBoolean | |
| public RubyBoolean | |
| public RubyBoolean | |
| public abstract AbstractRubyMethod | rbClone()
Redeclares org. Overrides org. RubyMethod clone. |
| public IRubyObject | |
| protected IRubyObject |
| entry | back to summary |
|---|---|
| protected CacheEntry entry | |
| implementationModule | back to summary |
|---|---|
| protected RubyModule implementationModule | |
| method | back to summary |
|---|---|
| protected DynamicMethod method | |
| methodName | back to summary |
|---|---|
| protected String methodName | |
| originModule | back to summary |
|---|---|
| protected RubyModule originModule | |
| originName | back to summary |
|---|---|
| protected String originName | |
| sourceModule | back to summary |
|---|---|
| protected RubyModule sourceModule | |
| AbstractRubyMethod | back to summary |
|---|---|
| protected AbstractRubyMethod(Ruby runtime, RubyClass rubyClass) | |
| arity | back to summary |
|---|---|
| public RubyFixnum arity(ThreadContext context) Returns the number of arguments a method accepted.
| |
| arity | back to summary |
|---|---|
| public RubyFixnum arity()
Deprecated
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides org. Doc from org. This override does not do a "checked" dispatch.
| |
| getFilename | back to summary |
|---|---|
| public String getFilename() | |
| getLine | back to summary |
|---|---|
| public int getLine() | |
| getMethod | back to summary |
|---|---|
| public DynamicMethod getMethod() | |
| getMethodName | back to summary |
|---|---|
| public String getMethodName() | |
| inspect | back to summary |
|---|---|
| public IRubyObject inspect(IRubyObject receiver) | |
| name | back to summary |
|---|---|
public IRubyObject name(ThreadContext context)
| |
| op_eql | back to summary |
|---|---|
public IRubyObject op_eql(ThreadContext context, IRubyObject other)
| |
| op_eql19 | back to summary |
|---|---|
| public final IRubyObject op_eql19(ThreadContext context, IRubyObject other)
Deprecated since 9.4-.
| |
| original_name | back to summary |
|---|---|
public IRubyObject original_name(ThreadContext context)
| |
| owner | back to summary |
|---|---|
public IRubyObject owner(ThreadContext context)
| |
| parameters | back to summary |
|---|---|
public IRubyObject parameters(ThreadContext context)
| |
| private_p | back to summary |
|---|---|
| public RubyBoolean private_p(ThreadContext context)
Deprecated since 10.0.
| |
| protected_p | back to summary |
|---|---|
| public RubyBoolean protected_p(ThreadContext context)
Deprecated since 10.0.
| |
| public_p | back to summary |
|---|---|
| public RubyBoolean public_p(ThreadContext context)
Deprecated since 10.0.
| |
| rbClone | back to summary |
|---|---|
| public abstract AbstractRubyMethod rbClone() Redeclares org. Overrides org. Doc from org. RubyMethod clone.
| |
| source_location | back to summary |
|---|---|
public IRubyObject source_location(ThreadContext context)
| |
| super_method | back to summary |
|---|---|
| protected IRubyObject super_method(ThreadContext context, IRubyObject receiver, RubyModule superClass) | |