class Byebug::AutoprySetting
Setting for automatically invoking Pry on every stop.
Constants
- DEFAULT
Public Class Methods
new()
click to toggle source
# File lib/byebug/settings/autopry.rb, line 11 def initialize PryCommand.always_run = DEFAULT end
Public Instance Methods
value()
click to toggle source
# File lib/byebug/settings/autopry.rb, line 23 def value PryCommand.always_run == 1 end
value=(v)
click to toggle source
# File lib/byebug/settings/autopry.rb, line 19 def value=(v) PryCommand.always_run = v ? 1 : 0 end