Class: TooDoo::Commands::Simple
- Defined in:
- lib/toodoo/commands/simple.rb
Overview
list your tasks usage: td list
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from TooDoo::Commands::Base
Instance Method Details
#perform! ⇒ Object
12 13 14 15 16 |
# File 'lib/toodoo/commands/simple.rb', line 12 def perform! tasks = find_tasks @message = (tasks) puts @message end |
#run! ⇒ Object
8 9 10 |
# File 'lib/toodoo/commands/simple.rb', line 8 def run! perform! end |