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