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