Sha256: 696459cd441c1eeaa7451ab14a10bb64f635dc51569e0f7ef785eaf64cda43d8

Contents?: true

Size: 387 Bytes

Versions: 26

Compression:

Stored size: 387 Bytes

Contents

require 'byebug/setting'

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

    def banner
      'File where settings are saved to. Default: ~/.byebug_save'
    end

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

Version data entries

26 entries across 25 versions & 3 rubygems

Version Path
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/byebug-9.1.0/lib/byebug/settings/savefile.rb
tdiary-5.0.6 vendor/bundle/gems/byebug-9.1.0/lib/byebug/settings/savefile.rb
byebug-9.1.0 lib/byebug/settings/savefile.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/byebug-9.0.6/lib/byebug/settings/savefile.rb
tdiary-5.0.5 vendor/bundle/gems/byebug-9.0.6/lib/byebug/settings/savefile.rb
tdiary-5.0.4 vendor/bundle/gems/byebug-9.0.6/lib/byebug/settings/savefile.rb
byebug-9.0.6 lib/byebug/settings/savefile.rb
byebug-9.0.5 lib/byebug/settings/savefile.rb
byebug-9.0.4 lib/byebug/settings/savefile.rb
byebug-9.0.3 lib/byebug/settings/savefile.rb
byebug-9.0.2 lib/byebug/settings/savefile.rb
byebug-9.0.1 lib/byebug/settings/savefile.rb
byebug-9.0.0 lib/byebug/settings/savefile.rb
byebug-8.2.5 lib/byebug/settings/savefile.rb
byebug-8.2.4 lib/byebug/settings/savefile.rb
byebug-8.2.3 lib/byebug/settings/savefile.rb
byebug-8.2.2 lib/byebug/settings/savefile.rb
byebug-8.2.1 lib/byebug/settings/savefile.rb
byebug-8.2.0 lib/byebug/settings/savefile.rb
byebug-8.1.0 lib/byebug/settings/savefile.rb