Class: DRbQS::CommandTask
Instance Attribute Summary
Attributes inherited from Task
Instance Method Summary collapse
-
#initialize(cmd, opts = {}, &hook) ⇒ CommandTask
constructor
&hook takes a server instance and exit number of command.
Methods inherited from Task
#drb_args, execute_task, #same_target?
Constructor Details
#initialize(cmd, opts = {}, &hook) ⇒ CommandTask
&hook takes a server instance and exit number of command.
77 78 79 |
# File 'lib/drbqs/task.rb', line 77 def initialize(cmd, opts = {}, &hook) super(CommandExecute.new(cmd, {}), :exec, &hook) end |