inspect_value

inspect_value(v) Instance Public methods Proc to call when the input is evaluated and output in irb.

new

new(workspace = nil, input_method = nil, output_method = nil) Class Public methods Creates a new irb session

eval_input

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

inspect

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

signal_handle

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

signal_status

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

suspend_context

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

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_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_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.