| Modifier and Type | Field and Description |
|---|---|
| public static final NullMethod |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | call(ThreadContext
The thread context for the currently executing thread context, IRubyObject The 'self' or 'receiver' object to use for this call self, RubyModule The Ruby class against which this method is binding klazz, String The incoming name used to invoke this method name, IRubyObject[] The argument list to this invocation args, Block The block passed to this invocation block)Implements abstract org. The one implementation of call, which throws an exception because NullMethod can't be invoked. |
| public DynamicMethod | Returns: The singleton instanceImplements abstract org. A dummy implementation of dup that just returns the singleton instance. |
| public static NullMethod | |
| public boolean | Returns: true alwaysThe calling object caller, CallType The type of call callType)Overrides org. NullMethod is always visible because it's only used as a marker to break method lookup loops. |
| public void | setCallConfig(CallConfiguration
Ignored callConfig)Overrides org.
Deprecated
Dummy implementation of setCallConfig that does nothing. |
| public void | setImplementationClass(RubyModule
Ignored implClass)Overrides org. Dummy override of setImplementationClass that does nothing. |
| public void | setVisibility(Visibility
Ignored visibility)Overrides org. Dummy implementation of setVisibility that does nothing. |
| INSTANCE | back to summary |
|---|---|
| public static final NullMethod INSTANCE | |
| NullMethod | back to summary |
|---|---|
| private NullMethod() Constructor for the one NullMethod instance. | |
| dup | back to summary |
|---|---|
| public DynamicMethod dup() Implements abstract org. A dummy implementation of dup that just returns the singleton instance.
| |
| getInstance | back to summary |
|---|---|
| public static NullMethod getInstance() Retrieve the singleton instance.
| |
| isCallableFrom | back to summary |
|---|---|
| public boolean isCallableFrom(IRubyObject caller, CallType callType) Overrides org. NullMethod is always visible because it's only used as a marker to break method lookup loops.
| |
| setCallConfig | back to summary |
|---|---|
| public void setCallConfig(CallConfiguration callConfig) Overrides org. Deprecated
Dummy implementation of setCallConfig that does nothing.
| |
| setImplementationClass | back to summary |
|---|---|
| public void setImplementationClass(RubyModule implClass) Overrides org. Dummy override of setImplementationClass that does nothing.
| |
| setVisibility | back to summary |
|---|---|
| public void setVisibility(Visibility visibility) Overrides org. Dummy implementation of setVisibility that does nothing.
| |