| Modifier and Type | Field and Description |
|---|---|
| protected final Arity | arity
The arity of this function. |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| protected | AbstractInvoker(Ruby
the runtime runtime, RubyClass the class klass, int the arity arity, MemoryIO the memory io)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | Returns: itselfThe thread context. context, IRubyObject The module or class to attach the function to. obj, IRubyObject The ruby name to attach the function as. methodName)Attaches this function to a ruby module or class. |
| public static RubyClass | |
| protected abstract DynamicMethod | |
| public final Arity | Returns: TheArity of the native function.Returns the |
| arity | back to summary |
|---|---|
| protected final Arity arity The arity of this function. | |
| CLASS_NAME | back to summary |
|---|---|
| pack-priv static final String CLASS_NAME | |
| AbstractInvoker | back to summary |
|---|---|
| protected AbstractInvoker(Ruby runtime, RubyClass klass, int arity, MemoryIO io) Creates a new | |
| attach | back to summary |
|---|---|
| public IRubyObject attach(ThreadContext context, IRubyObject obj, IRubyObject methodName) Attaches this function to a ruby module or class.
| |
| createAbstractInvokerClass | back to summary |
|---|---|
| public static RubyClass createAbstractInvokerClass(ThreadContext context, RubyModule FFI, RubyClass Pointer) | |
| createDynamicMethod | back to summary |
|---|---|
| protected abstract DynamicMethod createDynamicMethod(RubyModule module) Create a method
| |
| getArity | back to summary |
|---|---|
| public final Arity getArity() Returns the
| |