diff options
Diffstat (limited to 'lib/irb/command/break.rb')
-rw-r--r-- | lib/irb/command/break.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/irb/command/break.rb b/lib/irb/command/break.rb new file mode 100644 index 0000000000..fa200f2d78 --- /dev/null +++ b/lib/irb/command/break.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +require_relative "debug" + +module IRB + # :stopdoc: + + module Command + class Break < DebugCommand + def self.transform_args(args) + args&.dump + end + + def execute(args = nil) + super(pre_cmds: "break #{args}") + end + end + end + + # :startdoc: +end |