summaryrefslogtreecommitdiff
path: root/lib/irb/command/step.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/command/step.rb')
-rw-r--r--lib/irb/command/step.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/command/step.rb b/lib/irb/command/step.rb
index cce7d2b0f8..5149813029 100644
--- a/lib/irb/command/step.rb
+++ b/lib/irb/command/step.rb
@@ -7,8 +7,8 @@ module IRB
module Command
class Step < DebugCommand
- def execute(*args)
- super(do_cmds: ["step", *args].join(" "))
+ def execute(arg)
+ execute_debug_command(do_cmds: "step #{arg}".rstrip)
end
end
end