Class: Simultaneous::Command::TaskComplete
Instance Attribute Summary
Attributes inherited from CommandBase
#cmd, #params, #tag, #task
Instance Method Summary
collapse
Methods inherited from CommandBase
#domain, #domain=, #dump, #merge_params, #namespaced_task_name, #task_name
Constructor Details
#initialize(task_name) ⇒ 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
|