Class: Markdo::SummaryCommand
- Defined in:
- lib/markdo/commands/summary_command.rb
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Markdo::Command
Instance Method Details
#run ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/markdo/commands/summary_command.rb', line 5 def run print_count('Overdue', task_collection.overdue) print_count('Starred', task_collection.with_tag('star')) print_count('Today', task_collection.due_today) print_count('Tomorrow', task_collection.due_tomorrow) print_count('Soon', task_collection.due_soon) print_count('Inbox', inbox_task_collection.all) end |