ruby/lib/irb/cmd/break.rb

22 строки
318 B
Ruby

# frozen_string_literal: true
require_relative "debug"
module IRB
# :stopdoc:
module ExtendCommand
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