Class: Simultaneous::Command::TaskComplete
- Inherits:
-
CommandBase
- Object
- CommandBase
- Simultaneous::Command::TaskComplete
- Defined in:
- lib/simultaneous/command/task_complete.rb
Instance Attribute Summary
Attributes inherited from CommandBase
Instance Method Summary collapse
- #debug ⇒ Object
-
#initialize(task_name) ⇒ TaskComplete
constructor
A new instance of TaskComplete.
- #run ⇒ Object
Methods inherited from CommandBase
#domain, #domain=, #dump, #merge_params, #namespaced_task_name, #task_name
Constructor Details
#initialize(task_name) ⇒ TaskComplete
Returns a new instance of TaskComplete.
6 7 8 |
# File 'lib/simultaneous/command/task_complete.rb', line 6 def initialize(task_name) @task_name = task_name end |
Instance Method Details
#debug ⇒ Object
13 14 15 |
# File 'lib/simultaneous/command/task_complete.rb', line 13 def debug "TaskComplete :#{namespaced_task_name}\n" end |
#run ⇒ Object
10 11 12 |
# File 'lib/simultaneous/command/task_complete.rb', line 10 def run Simultaneous::Server.task_complete(namespaced_task_name) end |