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 13
def initialize
  IrbCommand.always_run = DEFAULT
end

Public Instance Methods

banner() click to toggle source
value() click to toggle source
# File lib/byebug/settings/autoirb.rb, line 25
def value
  IrbCommand.always_run == 1
end
value=(val) click to toggle source
# File lib/byebug/settings/autoirb.rb, line 21
def value=(val)
  IrbCommand.always_run = val ? 1 : 0
end