Sha256: 8236ba072eb374e300f7ec182d8419637bbb3f5f6e861465acc3a2cde1597026
Contents?: true
Size: 497 Bytes
Versions: 12
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true require "byebug/setting" require "byebug/commands/list" module Byebug # # Setting for automatically listing source code on every stop. # class AutolistSetting < Setting DEFAULT = 1 def initialize ListCommand.always_run = DEFAULT end def banner "Invoke list command on every stop" end def value=(val) ListCommand.always_run = val ? 1 : 0 end def value ListCommand.always_run == 1 end end end
Version data entries
12 entries across 12 versions & 7 rubygems