this.callTarget = callTarget;
}
@Override
public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args, Block block) {
final TruffleBridge bridge = context.getRuntime().getTruffleBridge();
final Object[] truffleArgs = new Object[args.length];
for (int n = 0; n < args.length; n++) {
truffleArgs[n] = bridge.toTruffle(args[n]);
}
return bridge.toJRuby(callTarget.call(RubyArguments.pack(null, null, bridge.toTruffle(self), null, truffleArgs)));
}