示例#1
0
 protected void pre(
     ThreadContext context, String name, IRubyObject self, Block block, Ruby runtime) {
   if (needsScope) {
     context.preMethodFrameAndScope(getImplementationClass(), name, self, block, staticScope);
   } else {
     context.preMethodFrameAndDummyScope(getImplementationClass(), name, self, block, staticScope);
   }
 }
 void pre(
     ThreadContext context,
     IRubyObject self,
     RubyModule implementer,
     String name,
     Block block,
     StaticScope scope) {
   context.preMethodFrameAndScope(implementer, name, self, block, scope);
 }