APIdock / Ruby
/
Browse About
method

exit

v2_6_3 - Show latest stable - Class: IRB::Context
exit(ret = 0)
public

Exits the current session, see IRB.irb_exit

# File lib/irb/context.rb, line 394
    def exit(ret = 0)
      IRB.irb_exit(@irb, ret)
    end

Related methods

  • Instance methods
  • __exit__
  • __inspect__
  • __to_s__
  • _set_last_value
  • change_workspace
  • debug?
  • debug_level=
  • eval_history=
  • evaluate
  • exit
  • file_input?
  • history_file
  • history_file=
  • home_workspace
  • init_save_history
  • inspect
  • inspect?
  • inspect_last_value
  • inspect_mode=
  • irb_level
  • main
  • pop_workspace
  • prompt_mode=
  • prompting?
  • push_workspace
  • save_history
  • save_history=
  • set_last_value
  • to_s
  • use_loader
  • use_loader=
  • use_loader?
  • use_readline=
  • use_tracer=
  • verbose?
  • workspaces
  • Class methods
  • new
APIdock API Documentation Browser
About GitHub

© 2026 APIdock