Sha256: 4187d44c2be33b5e9300d6daeba652501bff2518ca412c15beaf478432e5e366

Contents?: true

Size: 373 Bytes

Versions: 20

Compression:

Stored size: 373 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('.byebug_history')

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

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

Version data entries

20 entries across 19 versions & 3 rubygems

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