Class: Byebug::HistfileSetting
- Defined in:
- lib/byebug/settings/histfile.rb
Constant Summary collapse
- DEFAULT =
File.("#{ENV['HOME'] || '.'}/.byebug_hist")
Instance Attribute Summary
Attributes inherited from Setting
Instance Method Summary collapse
Methods inherited from Setting
[], []=, boolean?, #boolean?, exists?, find, format, #initialize, integer?, #integer?, load, settings, #to_sym
Constructor Details
This class inherits a constructor from Byebug::Setting
Instance Method Details
#help ⇒ Object
5 6 7 8 |
# File 'lib/byebug/settings/histfile.rb', line 5 def help "Customize file where history is loaded from and saved to. By default, " \ "~/.byebug_hist" end |
#to_s ⇒ Object
10 11 12 |
# File 'lib/byebug/settings/histfile.rb', line 10 def to_s "The command history file is #{value}\n" end |