prompting?() Instance Public methods Whether verbose? is true, and input_method is either StdioInputMethod or ReadlineInputMethod, see io for more information.
push_workspace(*_main) Instance Public methods Creates a new workspace with the given object or binding, and appends it onto the current workspaces stack. See #change_workspace and IRB::WorkSpace.new for more information.
save_history() Instance Public methods A copy of the default IRB.conf[:SAVE_HISTORY]
save_history=(val) Instance Public methods Sets IRB.conf[:SAVE_HISTORY] to the given val and calls init_save_history with this context. Will store the number of val entries of history in the history_file Add the following to your .irbrc to change the number of history entries stored to 1000: IRB.conf[:SAVE_HISTORY] = 1000
set_last_value(value) Instance Public methods Sets the return value from the last statement evaluated in this context to last_value. _set_last_value
use_loader() Instance Public methods Returns whether irb's own file reader method is used by load/require or not. This mode is globally affected (irb-wide). use_loader?
use_loader=(opt) Instance Public methods Sets IRB.conf See use_loader for more information.
use_loader?() Instance Public methods Alias for: use_loader
use_readline=(opt) Instance Public methods Obsolete method. Can be set using the --noreadline and --readline command line options. See Command line options at IRB for more command line options.
use_tracer=(opt) Instance Public methods Sets whether or not to use the Tracer library when evaluating statements in this context. See lib/tracer.rb for more information.
Page 434 of 11844