public void preMethodBacktraceDummyScope(RubyModule clazz, String name, StaticScope staticScope) { pushBacktraceFrame(name); RubyModule implementationClass = staticScope.getModule(); // FIXME: This is currently only here because of some problems with IOOutputStream writing to a // "bare" runtime without a proper scope if (implementationClass == null) { implementationClass = clazz; } pushScope(staticScope.getDummyScope()); pushRubyClass(implementationClass); }
public void preMethodBacktraceOnly(String name) { pushBacktraceFrame(name); }
public void preMethodBacktraceAndScope(String name, RubyModule clazz, StaticScope staticScope) { preMethodScopeOnly(clazz, staticScope); pushBacktraceFrame(name); }