Will raise an Abort exception, or the given
exception.
# File lib/irb.rb, line 418
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