Sha256: ad6c5ec1e7005bb60dfa599fad08fa639fb5c69d2dbe7be1eefde61a071cd05b

Contents?: true

Size: 409 Bytes

Versions: 6770

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

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

6,770 entries across 6,767 versions & 30 rubygems

Version Path
passbase-1.0.1 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb
passbase-1.0.0 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb
files.com-1.0.1 vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb
byebug-11.1.3 lib/byebug/settings/histfile.rb
byebug-11.1.2 lib/byebug/settings/histfile.rb
talon_one-2.0.0 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.1/lib/byebug/settings/histfile.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.1/lib/byebug/settings/histfile.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.1/lib/byebug/settings/histfile.rb
byebug-11.1.1 lib/byebug/settings/histfile.rb
byebug-11.1.0 lib/byebug/settings/histfile.rb