Class: Markdo::OverviewCommand
- Defined in:
- lib/markdo/commands/overview_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 14 |
# File 'lib/markdo/commands/overview_command.rb', line 5 def run tasks = task_collection.overdue + task_collection.starred + task_collection.due_today + task_collection.due_tomorrow tasks.each do |task| @stdout.puts(task.line) end end |