Sha256: 6ced9cf369facf894d0bf95bf3f90787bfe231a8bec44b4e2c86c963e922e7f2
Contents?: true
Size: 476 Bytes
Versions: 12
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true require "byebug/setting" require "byebug/commands/pry" module Byebug # # Setting for automatically invoking Pry on every stop. # class AutoprySetting < Setting DEFAULT = 0 def initialize PryCommand.always_run = DEFAULT end def banner "Invoke Pry on every stop" end def value=(val) PryCommand.always_run = val ? 1 : 0 end def value PryCommand.always_run == 1 end end end
Version data entries
12 entries across 12 versions & 7 rubygems