class Byebug::AutoirbSetting
Setting for automatically invoking IRB on every stop.
Constants
- DEFAULT
Public Class Methods
new()
click to toggle source
# File lib/byebug/settings/autoirb.rb, line 12 def initialize IrbCommand.always_run = DEFAULT end
Public Instance Methods
value()
click to toggle source
# File lib/byebug/settings/autoirb.rb, line 24 def value IrbCommand.always_run == 1 end
value=(val)
click to toggle source
# File lib/byebug/settings/autoirb.rb, line 20 def value=(val) IrbCommand.always_run = val ? 1 : 0 end