summaryrefslogtreecommitdiff
path: root/lib/irb/command/break.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/command/break.rb')
-rw-r--r--lib/irb/command/break.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/irb/command/break.rb b/lib/irb/command/break.rb
index fa200f2d78..42ee002ce8 100644
--- a/lib/irb/command/break.rb
+++ b/lib/irb/command/break.rb
@@ -7,12 +7,8 @@ module IRB
module Command
class Break < DebugCommand
- def self.transform_args(args)
- args&.dump
- end
-
- def execute(args = nil)
- super(pre_cmds: "break #{args}")
+ def execute(arg)
+ execute_debug_command(pre_cmds: "break #{arg}".rstrip)
end
end
end