File Manager

Path: /opt/chef/embedded/lib/ruby/gems/2.7.0/gems/byebug-11.1.3/lib/byebug/settings/

Viewing File: histsize.rb

# frozen_string_literal: true

require_relative "../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