Class: Todos::Commands::GeneralCommands::ListDoneTasks
- Inherits:
-
BasicTaskList
- Object
- BasicTaskList
- Todos::Commands::GeneralCommands::ListDoneTasks
- Defined in:
- lib/todos_cli.rb
Constant Summary collapse
- KEY =
'd'- DESCRIPTION =
'List done tasks'
Class Method Summary collapse
Methods inherited from BasicTaskList
Methods included from BasicList
Class Method Details
.execute ⇒ Object
85 86 87 88 |
# File 'lib/todos_cli.rb', line 85 def self.execute puts 'Done tasks' task_list_body(Task.with_all.filter(:done => true)) end |