Type:
Class
Constants:
NOPRINTING_IVARS : ["@last_value"]
NO_INSPECTING_IVARS : ["@irb", "@io"]
IDNAME_IVARS : ["@prompt_mode"]

A class that wraps the current state of the irb session, including the configuration of IRB.conf.

save_history=
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

save_history=(val) Instance Public methods Sets IRB.conf[:SAVE_HISTORY]

2025-01-10 15:47:30
history_file=
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

history_file=(hist) Instance Public methods

2025-01-10 15:47:30
exit
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

exit(ret = 0) Instance Public methods Exits the current session, see

2025-01-10 15:47:30
workspaces
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

workspaces() Instance Public methods WorkSpaces in the current stack

2025-01-10 15:47:30
__exit__
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

__exit__(ret = 0) Instance Public methods Alias for:

2025-01-10 15:47:30
eval_history=
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

eval_history=(no) Instance Public methods Sets command result history limit

2025-01-10 15:47:30
use_readline=
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

use_readline=(opt) Instance Public methods Obsolete method.

2025-01-10 15:47:30
math_mode=
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

math_mode=(opt) Instance Public methods Sets bc mode, which loads lib/mathn

2025-01-10 15:47:30
file_input?
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

file_input?() Instance Public methods Whether io uses a

2025-01-10 15:47:30
pop_workspace
  • References/Ruby on Rails/Ruby/Classes/IRB/IRB::Context

pop_workspace() Instance Public methods Removes the last element from the current

2025-01-10 15:47:30