Sha256: 65ac58122fb8740a972b15ec83e6fe14a5974233f73d73579e90f4ae9a8ce5de
Contents?: true
Size: 441 Bytes
Versions: 36
Compression:
Stored size: 441 Bytes
Contents
require 'byebug/setting' require 'byebug/commands/irb' module Byebug # # Setting for automatically invoking IRB on every stop. # class AutoirbSetting < Setting DEFAULT = 0 def initialize IrbCommand.always_run = DEFAULT end def banner 'Invoke IRB on every stop' end def value=(v) IrbCommand.always_run = v ? 1 : 0 end def value IrbCommand.always_run == 1 end end end
Version data entries
36 entries across 34 versions & 5 rubygems