org.jruby.cext
Class NativeMethod0
java.lang.Object
org.jruby.internal.runtime.methods.DynamicMethod
org.jruby.cext.NativeMethod
org.jruby.cext.NativeMethod0
public final class NativeMethod0
- extends NativeMethod
NativeMethod0
represents an arity-0 native method. This class is for call optimization.
Methods inherited from class org.jruby.internal.runtime.methods.DynamicMethod |
calculateProtectedClass, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, getCallConfig, getImplementationClass, getName, getNativeCall, getProtectedClass, getRealMethod, getSerialNumber, getVisibility, handleBreak, handleRedo, handleReturn, init, isBuiltin, isCallableFrom, isNotImplemented, isUndefined, setCallConfig, setImplementationClass, setIsBuiltin, setName, setNativeCall, setNotImplemented, setVisibility |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeMethod0
public NativeMethod0(RubyModule clazz,
int arity,
long function)
call
public final IRubyObject call(ThreadContext context,
IRubyObject self,
RubyModule klazz,
java.lang.String name)
- Description copied from class:
DynamicMethod
- Arity 0, no block
- Overrides:
call
in class DynamicMethod
call
public final IRubyObject call(ThreadContext context,
IRubyObject self,
RubyModule klazz,
java.lang.String name,
Block block)
- Description copied from class:
DynamicMethod
- Arity 0, with block; calls through IRubyObject[] path
- Overrides:
call
in class DynamicMethod
Copyright © 2002-2009 JRuby Team. All Rights Reserved.