Beispiel #1
0
 public final IRubyObject invoke(
     ThreadContext context, Function function, HeapInvocationBuffer args) {
   return Util.newSigned32(context.getRuntime(), invoker.invokeInt(function, args));
 }
 public final IRubyObject invoke(Ruby runtime, Function function, HeapInvocationBuffer args) {
   return Util.newSigned32(runtime, invoker.invokeInt(function, args));
 }
Beispiel #3
0
 public final IRubyObject fromNative(ThreadContext context, int value) {
   return Util.newSigned32(context.getRuntime(), value);
 }