irb_require

irb_require(*opts, &b) Instance Public methods Loads the given file similarly to Kernel#require

irb_load

irb_load(*opts, &b) Instance Public methods Loads the given file similarly to Kernel#load, see IRB::IrbLoader#irb_load

irb_exit

irb_exit(ret = 0) Instance Public methods Quits the current irb context ret is the optional signal or message to send to IRB::Context#exit Same as IRB.CurrentContext.exit.

irb_context

irb_context() Instance Public methods Displays current configuration. Modifing the configuration is achieved by sending a message to IRB.conf.

install_alias_method

install_alias_method(to, from, override = NO_OVERRIDE) Instance Public methods Installs alias methods for the default irb commands, see ::install_extend_commands.

install_extend_commands

install_extend_commands() Class Public methods Installs the default irb commands: irb_current_working_workspace IRB::Context#main irb_change_workspace IRB::Context#change_workspace irb_workspaces IRB::Context#workspaces irb_push_workspace IRB::Context#push_workspace irb_pop_workspace IRB::Context#pop_workspace irb_load irb_load irb_require irb_require irb_source IRB::IrbLoader#source_file irb IRB.irb irb_jobs JobManager irb_fg IRB::JobManage

extend_object

extend_object(obj) Class Public methods Installs alias methods for the default irb commands on the given object using install_alias_method.

def_extend_command

def_extend_command(cmd_name, cmd_class, load_file = nil, *aliases) Class Public methods Evaluate the given cmd_name on the given cmd_class Class. Will also define any given aliases for the method. The optional load_file parameter will be required within the method definition.

install_extend_commands

install_extend_commands() Class Public methods Installs the default context extensions as irb commands: IRB::Context#eval_history= irb/ext/history.rb IRB::Context#use_tracer= irb/ext/tracer.rb IRB::Context#math_mode= irb/ext/math-mode.rb IRB::Context#use_loader= irb/ext/use-loader.rb IRB::Context#save_history= irb/ext/save-history.rb

def_extend_command

def_extend_command(cmd_name, load_file, *aliases) Class Public methods Evaluate the given command from the given load_file on the Context module. Will also define any given aliases for the method.