Exemplo n.º 1
0
 public final IRubyObject invoke(
     ThreadContext context, Function function, HeapInvocationBuffer args) {
   Buffer buf =
       new Buffer(
           context.getRuntime(),
           invoker.invokeStruct(function, args),
           0,
           info.getStructLayout().getSize());
   return info.getStructClass().newInstance(context, new IRubyObject[] {buf}, Block.NULL_BLOCK);
 }