class Byebug::AutoprySetting - byebug-11.0.1 Documentation

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

### Public Instance Methods

banner() click to toggle source

    # File lib/byebug/settings/autopry.rb, line 17
    def banner
      "Invoke Pry on every stop"
    end

value() click to toggle source

    # File lib/byebug/settings/autopry.rb, line 25
    def value
      PryCommand.always_run == 1
    end

value=(val) click to toggle source

    # File lib/byebug/settings/autopry.rb, line 21
    def value=(val)
      PryCommand.always_run = val ? 1 : 0
    end