return (scope instanceof IRModule) ? IRClass.getCoreClass("Module") : null;
}
public RubyModule interpretBody(InterpreterContext interp, ThreadContext context, RubyModule module) {
scope.getStaticScope().setModule(module);
IRMethod rootMethod = ((IRModule) scope).getRootMethod();
DynamicMethod method = new InterpretedIRMethod(rootMethod, module.getMetaClass());
method.call(context, module, module.getMetaClass(), "", new IRubyObject[]{});
return module;