load_file

load_file(path, priv = nil) Instance Public methods Loads the given file in the current session's context and evaluates it. See IRB::Irb#suspend_input_method for more information.

irb_load

irb_load(fn, priv = nil) Instance Public methods Loads the given file similarly to Kernel#load

suspend_workspace

suspend_workspace(workspace) Instance Public methods Evaluates the given block using the given workspace as the IRB::Context#workspace. Used by the irb command irb_load, see IRB Sessions at IRB for more information.

suspend_name

suspend_name(path = nil, name = nil) Instance Public methods Evaluates the given block using the given path as the IRB::Context#irb_path and name as the IRB::Context#irb_name. Used by the irb command source, see IRB Sessions at IRB for more information.

suspend_input_method

suspend_input_method(input_method) Instance Public methods Evaluates the given block using the given input_method as the IRB::Context#io. Used by the irb commands source and irb_load, see IRB Sessions at IRB for more information.

suspend_context

suspend_context(context) Instance Public methods Evaluates the given block using the given context as the Context.

signal_status

signal_status(status) Instance Public methods Evaluates the given block using the given status.

signal_handle

signal_handle() Instance Public methods Handler for the signal SIGINT, see Kernel#trap for more information.

inspect

inspect() Instance Public methods Outputs the local variables to this current session, including signal_status and context, using IRB::Locale.

eval_input

eval_input() Instance Public methods Evaluates input for this session.