Method: Tracking::Config#defaults
- Defined in:
- lib/tracking/config.rb
#defaults ⇒ Hash<Symbol,Object>
Default config hash
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/tracking/config.rb', line 21 def defaults { # path to the data file (string, ~ can be used) :data_file => '~/.tracking/data.csv', # number of lines to be displayed at once by default (integer) :lines => 10, # width of the task name column, in characters (integer) :task_width => 40, # format to use for elapsed time display (:colons or :letters) :elapsed_format => :colons, # toggle colored display of the current (last) task :color_current_task => true, # toggle header describing tracking's display columns (true or false) :show_header => true, # toggle display of seconds in elapsed time (true of false) :show_elapsed_seconds => false } end |