Ejemplo n.º 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);
   }
 }
Ejemplo n.º 2
0
 void pre(
     ThreadContext context,
     IRubyObject self,
     RubyModule implementer,
     String name,
     Block block,
     StaticScope scope) {
   context.preMethodFrameAndScope(implementer, name, self, block, scope);
 }