Class: Byebug::HistfileSetting

Inherits:
Setting
  • Object
show all
Defined in:
lib/byebug/settings/histfile.rb

Overview

Setting to customize the file where byebug’s history is saved.

Constant Summary collapse

DEFAULT =
File.expand_path('.byebug_history')

Instance Attribute Summary

Attributes inherited from Setting

#value

Instance Method Summary collapse

Methods inherited from Setting

[], []=, #boolean?, find, #help, help_all, #initialize, #integer?, settings, #to_sym

Constructor Details

This class inherits a constructor from Byebug::Setting

Instance Method Details



10
11
12
# File 'lib/byebug/settings/histfile.rb', line 10

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

#to_sObject



14
15
16
# File 'lib/byebug/settings/histfile.rb', line 14

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