history_file=

history_file=(hist) Instance Public methods Set IRB.conf[:HISTORY_FILE] to the given hist.

history_file

history_file() Instance Public methods A copy of the default IRB.conf[:HISTORY_FILE]

file_input?

file_input?() Instance Public methods Whether io uses a File for the input_method passed when creating the current context, see ::new

exit

exit(ret = 0) Instance Public methods Exits the current session, see IRB.irb_exit __exit__

eval_history=

eval_history=(no) Instance Public methods Sets command result history limit. no is an Integer or nil. Returns no of history items if greater than 0. If no is 0, the number of history items is unlimited. If no is nil, execution result history isn't used (default).

debug_level=

debug_level=(value) Instance Public methods Sets the debug level of irb Can also be set using the --irb_debug command line option. See Command line options at IRB for more command line options.

debug?

debug?() Instance Public methods Whether or not debug mode is enabled, see debug_level=.

change_workspace

change_workspace(*_main) Instance Public methods Changes the current workspace to given object or binding. If the optional argument is omitted, the workspace will be home_workspace which is inherited from TOPLEVEL_BINDING or the main object, IRB.conf[:MAIN_CONTEXT] when irb was initialized. See IRB::WorkSpace.new for more information.

_set_last_value

_set_last_value(value) Instance Public methods See set_last_value set_last_value

__exit__

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