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