Sha256: 5dd712c03840934b52ed330c6c8e98c5d863e80fe63d3a51a49b6879fad73e96

Contents?: true

Size: 368 Bytes

Versions: 36

Compression:

Stored size: 368 Bytes

Contents

require 'byebug/setting'

module Byebug
  #
  # Setting to customize the number of byebug commands to be saved in history.
  #
  class HistsizeSetting < Setting
    DEFAULT = 256

    def banner
      'Maximum number of commands that can be stored in byebug history'
    end

    def to_s
      "Maximum size of byebug's command history is #{value}"
    end
  end
end

Version data entries

36 entries across 34 versions & 5 rubygems

Version Path
byebug-8.2.0 lib/byebug/settings/histsize.rb
byebug-8.1.0 lib/byebug/settings/histsize.rb
byebug-8.0.1 lib/byebug/settings/histsize.rb
byebug-8.0.0 lib/byebug/settings/histsize.rb
byebug-7.0.0 lib/byebug/settings/histsize.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/byebug-5.0.0/lib/byebug/settings/histsize.rb
byebug-6.0.2 lib/byebug/settings/histsize.rb
byebug-6.0.1 lib/byebug/settings/histsize.rb
byebug-6.0.0 lib/byebug/settings/histsize.rb
byebug-5.0.0 lib/byebug/settings/histsize.rb
byebug-4.0.5 lib/byebug/settings/histsize.rb
byebug-4.0.4 lib/byebug/settings/histsize.rb
byebug-4.0.3 lib/byebug/settings/histsize.rb
byebug-4.0.2 lib/byebug/settings/histsize.rb
byebug-4.0.1 lib/byebug/settings/histsize.rb
byebug-4.0.0 lib/byebug/settings/histsize.rb