summaryrefslogtreecommitdiff
path: root/lib/irb/extend-command.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-19 14:14:40 -0800
committergit <svn-admin@ruby-lang.org>2022-11-19 22:14:44 +0000
commit5958c305e527460465bdbd43e59b2da26d4cfbfb (patch)
treec25f78068c239e00f5cc9a234294346068751866 /lib/irb/extend-command.rb
parent23750c866a69cec982cc16921bbdc6224dfded94 (diff)
[ruby/irb] Document a full list of commands
(https://github.com/ruby/irb/pull/451) * Document a full list of commands * Document debug as well * Make it less duplicated
Diffstat (limited to 'lib/irb/extend-command.rb')
-rw-r--r--lib/irb/extend-command.rb21
1 files changed, 1 insertions, 20 deletions
diff --git a/lib/irb/extend-command.rb b/lib/irb/extend-command.rb
index 7da75fe147..94fd9c8bb4 100644
--- a/lib/irb/extend-command.rb
+++ b/lib/irb/extend-command.rb
@@ -165,26 +165,7 @@ module IRB # :nodoc:
nil
end
- # Installs the default irb commands:
- #
- # +irb_current_working_workspace+:: Context#main
- # +irb_change_workspace+:: Context#change_workspace
- # +irb_workspaces+:: Context#workspaces
- # +irb_push_workspace+:: Context#push_workspace
- # +irb_pop_workspace+:: Context#pop_workspace
- # +irb_load+:: #irb_load
- # +irb_require+:: #irb_require
- # +irb_source+:: IrbLoader#source_file
- # +irb+:: IRB.irb
- # +irb_jobs+:: JobManager
- # +irb_fg+:: JobManager#switch
- # +irb_kill+:: JobManager#kill
- # +irb_help+:: IRB@Command+line+options
- # +irb_info+:: #inspect
- # +irb_ls+:: Output#dump
- # +irb_measure+:: IRB::unset_measure_callback
- # +irb_show_source+:: #find_source, #show_source
- # +irb_whereami+:: Workspace#code_around_binding
+ # Installs the default irb commands.
def self.install_extend_commands
for args in @EXTEND_COMMANDS
def_extend_command(*args)