| Modifier and Type | Field and Description |
|---|---|
| public static final UndefinedMethod |
| 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 UndefinedMethod 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 UndefinedMethod | |
| public Visibility | getVisibility()
Overrides org. UndefinedMethod is always visibility UNDEFINED |
| public boolean | Returns: true alwaysThe calling object caller, CallType The type of call callType)Overrides org. UndefinedMethod is always visible because it's only used as a marker for missing or undef'ed methods. |
| public void | setDefinedClass(RubyModule
that method was defined in definedClass)Overrides org. Set the defining class for this method, as when restructuring hierarchy for prepend. |
| public void | setImplementationClass(RubyModule
Ignored implClass)Overrides org. Dummy override of setImplementationClass that does nothing. |
| public void | setIsBuiltin(boolean
true if this is a core built-in method, false otherwise isBuiltin)Overrides org. Force this method to be treated as a core built-in method if true, or as a normal non-core method otherwise. |
| public void | setNotImplemented(boolean
is this not implement or not setNotImplemented)Overrides org. Set whether this method is "not implemented". |
| public void | setVisibility(Visibility
Ignored visibility)Overrides org. Dummy implementation of setVisibility that does nothing. |
| INSTANCE | back to summary |
|---|---|
| public static final UndefinedMethod INSTANCE | |
| UndefinedMethod | back to summary |
|---|---|
| private UndefinedMethod() Constructor for the one UndefinedMethod 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 UndefinedMethod getInstance() Retrieve the singleton instance.
| |
| getVisibility | back to summary |
|---|---|
| public Visibility getVisibility() Overrides org. UndefinedMethod is always visibility UNDEFINED
| |
| isCallableFrom | back to summary |
|---|---|
| public boolean isCallableFrom(IRubyObject caller, CallType callType) Overrides org. UndefinedMethod is always visible because it's only used as a marker for missing or undef'ed methods.
| |
| setDefinedClass | back to summary |
|---|---|
| public void setDefinedClass(RubyModule definedClass) Overrides org. Doc from org. Set the defining class for this method, as when restructuring hierarchy for prepend.
| |
| setImplementationClass | back to summary |
|---|---|
| public void setImplementationClass(RubyModule implClass) Overrides org. Dummy override of setImplementationClass that does nothing.
| |
| setIsBuiltin | back to summary |
|---|---|
| public void setIsBuiltin(boolean isBuiltin) Overrides org. Doc from org. Force this method to be treated as a core built-in method if true, or as a normal non-core method otherwise.
| |
| setNotImplemented | back to summary |
|---|---|
| public void setNotImplemented(boolean setNotImplemented) Overrides org. Doc from org. Set whether this method is "not implemented".
| |
| setVisibility | back to summary |
|---|---|
| public void setVisibility(Visibility visibility) Overrides org. Dummy implementation of setVisibility that does nothing.
| |