|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.internal.runtime.methods.DynamicMethod
org.jruby.internal.runtime.methods.SimpleCallbackMethod
public class SimpleCallbackMethod
Field Summary |
---|
Fields inherited from class org.jruby.internal.runtime.methods.DynamicMethod |
---|
callConfig, implementationClass, visibility |
Constructor Summary | |
---|---|
SimpleCallbackMethod(RubyModule implementationClass,
Callback callback,
Visibility visibility)
|
Method Summary | |
---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject self,
RubyModule klazz,
java.lang.String name,
IRubyObject[] args,
Block block)
Call the method |
DynamicMethod |
dup()
|
Arity |
getArity()
|
Callback |
getCallback()
|
Methods inherited from class org.jruby.internal.runtime.methods.DynamicMethod |
---|
call, call, call, call, call, call, call, call, call, getCallConfig, getImplementationClass, getRealMethod, getVisibility, isCallableFrom, isNative, isUndefined, setCallConfig, setImplementationClass, setVisibility |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleCallbackMethod(RubyModule implementationClass, Callback callback, Visibility visibility)
Method Detail |
---|
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, Block block)
DynamicMethod
call
in class DynamicMethod
context
- is the thread-specific information that this method is being invoked onpublic Callback getCallback()
public Arity getArity()
getArity
in class DynamicMethod
public DynamicMethod dup()
dup
in class DynamicMethod
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |