ruby/lib/irb/cmd
Stan Lo 73fc81199d [ruby/irb] Simplify the help command's implementation
(https://github.com/ruby/irb/pull/564)

The current method-redefining approach brings little benefit, makes it
harder to understand the code, and causes warnings like:

> warning: method redefined; discarding old execute

This patch simplifies it while displaying more helpful message when rdoc
couldn't be loaded.
2023-04-24 14:10:36 +00:00
..
backtrace.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
break.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
catch.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
chws.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
continue.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
debug.rb [ruby/irb] Respect DLEXT to force-load debug.so 2022-12-20 09:07:54 -08:00
delete.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
edit.rb [ruby/irb] show_doc command should take non-string argument too 2022-12-12 17:35:48 +00:00
finish.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
fork.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
help.rb [ruby/irb] Simplify the help command's implementation 2023-04-24 14:10:36 +00:00
info.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
irb_info.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
load.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
ls.rb [ruby/irb] Filter out top-level methods when using `ls 2023-04-24 14:05:16 +00:00
measure.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
next.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
nop.rb [ruby/irb] Drop Ruby 2.6 support 2023-04-05 21:40:40 +00:00
pushws.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
show_cmds.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00
show_source.rb [ruby/irb] Drop Ruby 2.6 support 2023-04-05 21:40:40 +00:00
step.rb [ruby/irb] Fix step command (https://github.com/ruby/irb/pull/477) 2022-12-09 23:39:17 +00:00
subirb.rb [ruby/irb] Formatting to header styles 2023-01-11 22:29:10 +00:00
whereami.rb [ruby/irb] Add "show_cmds" command to list all commands' 2022-12-08 19:10:23 +00:00