Method: IRB::Context#exit
- Defined in:
- lib/irb/context.rb
#exit(ret = 0) ⇒ Object
Exits the current session, see IRB.irb_exit
511 512 513 514 515 |
# File 'lib/irb/context.rb', line 511 def exit(ret = 0) IRB.irb_exit(@irb, ret) rescue UncaughtThrowError super end |