}
return invokeAs(context, superClass, self, context.getFrameName(), arg0, arg1, block);
}
public static IRubyObject invokeSuper(ThreadContext context, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) {
RubyModule klazz = context.getFrameKlazz();
RubyClass superClass = findImplementerIfNecessary(self.getMetaClass(), klazz).getSuperClass();
if (superClass == null) {
String name = context.getFrameName();
return callMethodMissing(context, self, klazz.searchMethod(name), name, arg0, arg1, arg2, CallType.SUPER, block);
}
return invokeAs(context, superClass, self, context.getFrameName(), arg0, arg1, arg2, block);
}