Class: MicroManager::CLI::AddTask
- Inherits:
-
Object
- Object
- MicroManager::CLI::AddTask
- Defined in:
- lib/cli/add_task.rb
Instance Method Summary collapse
-
#initialize(description:, due: Date.today) ⇒ AddTask
constructor
A new instance of AddTask.
- #run(schedule:) ⇒ Object
Constructor Details
#initialize(description:, due: Date.today) ⇒ AddTask
Returns a new instance of AddTask.
6 7 8 9 |
# File 'lib/cli/add_task.rb', line 6 def initialize(description:, due: Date.today) @description = description @due = due end |