summaryrefslogtreecommitdiff
path: root/lib/irb/cmd/step.rb
diff options
context:
space:
mode:
authorStan Lo <stan.lo@shopify.com>2022-12-08 19:10:19 +0000
committergit <svn-admin@ruby-lang.org>2022-12-08 19:10:23 +0000
commit3956bb859c2442d34ea171db8f92f3e5895c43d9 (patch)
tree4800d4eb49ceadec321f37e644ab98fb1f597aa6 /lib/irb/cmd/step.rb
parent2cea8e014dbbbb68e4e8be367529b2beae564c54 (diff)
[ruby/irb] Add "show_cmds" command to list all commands'
descriptions (https://github.com/ruby/irb/pull/463) https://github.com/ruby/irb/commit/7e857655ac
Diffstat (limited to 'lib/irb/cmd/step.rb')
-rw-r--r--lib/irb/cmd/step.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/cmd/step.rb b/lib/irb/cmd/step.rb
index dbd59806f8..d3d0f16291 100644
--- a/lib/irb/cmd/step.rb
+++ b/lib/irb/cmd/step.rb
@@ -6,7 +6,7 @@ module IRB
# :stopdoc:
module ExtendCommand
- class Step < Debug
+ class Step < DebugCommand
def execute(*args)
# Run `next` first to move out of binding.irb
super(pre_cmds: "next", do_cmds: ["step", *args].join(" "))