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