protected void pre(ThreadContext context, IRubyObject self, String name, Block block, int argsLength) { Ruby runtime = context.runtime; callConfig.pre(context, self, getImplementationClass(), name, block, staticScope); getArity().checkArity(runtime, argsLength); if (runtime.hasEventHooks()) traceCall(context, runtime, name); }
protected void pre(ThreadContext context, IRubyObject self, String name, Block block, int argsLength) { Ruby runtime = context.runtime; callConfig.pre(context, self, getImplementationClass(), name, block, staticScope); getArity().checkArity(runtime, argsLength); if (runtime.hasEventHooks()) traceCall(context, runtime, name); }