irb_abort(irb, exception = Abort)
public
Aborts then interrupts irb.
Will raise an Abort exception, or the given
exception.
Show source
def IRB.irb_abort(irb, exception = Abort)
if defined? Thread
irb.context.thread.raise exception, "abort then interrupt!"
else
raise exception, "abort then interrupt!"
end
end