summaryrefslogtreecommitdiff
path: root/lib/irb/command/continue.rb
diff options
context:
space:
mode:
authortomoya ishida <[email protected]>2024-04-11 01:52:47 +0900
committergit <[email protected]>2024-04-10 16:52:53 +0000
commit6a505d1b59cf326a8e004fc06e02f30222b17f3f (patch)
tree8ed520d1aee744158f154f4dd7733b6eb4d017e0 /lib/irb/command/continue.rb
parent9f6deaa6888a423720b4b127b5314f0ad26cc2e6 (diff)
[ruby/irb] Command implementation not by method
(https://github.com/ruby/irb/pull/824) * Command is not a method * Fix command test * Implement non-method command name completion * Add test for ExtendCommandBundle.def_extend_command * Add helper method install test * Remove spaces in command input parse * Remove command arg unquote in help command * Simplify Statement and handle execution in IRB::Irb * Tweak require, const name * Always install CommandBundle module to main object * Remove considering local variable in command or expression check * Remove unused method, tweak * Remove outdated comment for help command arg Co-authored-by: Stan Lo <[email protected]> --------- https://github.com/ruby/irb/commit/8fb776e379 Co-authored-by: Stan Lo <[email protected]>
Diffstat (limited to 'lib/irb/command/continue.rb')
-rw-r--r--lib/irb/command/continue.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/command/continue.rb b/lib/irb/command/continue.rb
index 8b6ffc860c..49e4384eb3 100644
--- a/lib/irb/command/continue.rb
+++ b/lib/irb/command/continue.rb
@@ -7,8 +7,8 @@ module IRB
module Command
class Continue < DebugCommand
- def execute(*args)
- super(do_cmds: ["continue", *args].join(" "))
+ def execute(arg)
+ execute_debug_command(do_cmds: "continue #{arg}".rstrip)
end
end
end