|
||||||||||
| 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.ProcMethod
public class ProcMethod
| Field Summary |
|---|
| Fields inherited from class org.jruby.internal.runtime.methods.DynamicMethod |
|---|
callConfig, implementationClass, visibility |
| Constructor Summary | |
|---|---|
ProcMethod(RubyModule implementationClass,
RubyProc proc,
Visibility visibility)
Constructor for ProcMethod. |
|
| 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()
|
| 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 ProcMethod(RubyModule implementationClass,
RubyProc proc,
Visibility 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 DynamicMethodcontext - is the thread-specific information that this method is being invoked onorg.jruby.runtime.ICallable#call(Ruby, IRubyObject, String, IRubyObject[], boolean)public DynamicMethod dup()
dup in class DynamicMethodpublic Arity getArity()
getArity in class DynamicMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||