void pre( ThreadContext context, IRubyObject self, RubyModule implementer, String name, Block block, StaticScope scope) { context.preMethodFrameOnly(implementer, name, self, block); }
protected void pre( InterpreterContext ic, ThreadContext context, IRubyObject self, String name, Block block, RubyModule implClass) { // update call stacks (push: frame, class, scope, etc.) context.preMethodFrameOnly(implClass, name, self, block); if (ic.pushNewDynScope()) { context.pushScope(DynamicScope.newDynamicScope(ic.getStaticScope())); } }