lib/tailog/ext/irb.rb in tailog-0.5.9 vs lib/tailog/ext/irb.rb in tailog-0.6.0
- old
+ new
@@ -16,9 +16,13 @@
irb = IRB::Irb.new nil, StringInputMethod.new(string + "\n")
IRB.conf[:MAIN_CONTEXT] = irb.context
irb.eval_input
end
+def IRB.irb_exit irb, ret
+ ret
+end
+
class IRB::WorkSpace
def evaluate(context, statements, file = __FILE__, line = __LINE__)
@after_ruby_debug_erb = false
eval(statements, @binding, file, line)
end