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 12 def initialize PryCommand.always_run = DEFAULT end
Public Instance Methods
value()
click to toggle source
# File lib/byebug/settings/autopry.rb, line 24 def value PryCommand.always_run == 1 end
value=(val)
click to toggle source
# File lib/byebug/settings/autopry.rb, line 20 def value=(val) PryCommand.always_run = val ? 1 : 0 end