Class: Markdo::WeekCommand
- Defined in:
- lib/markdo/commands/week_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
6 7 8 9 10 11 12 13 14 |
# File 'lib/markdo/commands/week_command.rb', line 6 def run tasks = task_collection.due_today + task_collection.due_tomorrow + task_collection.due_soon tasks.each do |task| @stdout.puts(task.line) end end |