Sha256: 25ab83c5d76298499eaa06635e091695899863701c92a420d8d9133a2921bbdd

Contents?: true

Size: 389 Bytes

Versions: 16

Compression:

Stored size: 389 Bytes

Contents

require 'byebug/setting'

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

16 entries across 15 versions & 3 rubygems

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