Sha256: 7d8d6d6b2bba9b76c11c22c6f3572401371c83c66e485494ec786607b2c70754

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 Bytes

Contents

module Byebug
  #
  # Setting to customize the file where byebug's history is saved.
  #
  class HistfileSetting < Setting
    DEFAULT = File.expand_path("#{ENV['HOME'] || '.'}/.byebug_hist")

    def banner
      'File where cmd history is saved to. Default: ~/.byebug_hist'
    end

    def to_s
      "The command history file is #{value}\n"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
byebug-3.5.1 lib/byebug/settings/histfile.rb
byebug-3.5.0 lib/byebug/settings/histfile.rb
byebug-3.4.2 lib/byebug/settings/histfile.rb
byebug-3.4.1 lib/byebug/settings/histfile.rb
byebug-3.4.0 lib/byebug/settings/histfile.rb
byebug-3.3.0 lib/byebug/settings/histfile.rb