Module: Toji::Progress::MotoProgress

Includes:
BaseProgress
Defined in:
lib/toji/progress/moto_progress.rb

Instance Method Summary collapse

Methods included from BaseProgress

#base_time, #day_labels, #day_offset, #days, #has_keys

Instance Method Details

#all_keysObject



6
7
8
# File 'lib/toji/progress/moto_progress.rb', line 6

def all_keys
  MotoState::KEYS
end

#progress_note(name: nil, dash: :solid, enable_annotations: true) ⇒ Object



10
11
12
# File 'lib/toji/progress/moto_progress.rb', line 10

def progress_note(name: nil, dash: :solid, enable_annotations: true)
  Graph::ProgressNote.new(self, name: name, dash: dash, enable_annotations: enable_annotations)
end