Class: Rake::RemoteTask::Action

Class | Rake::RemoteTask::Action
In: | lib/rake_remote_task.rb
Parent: | Object

Action is used to run a task‘s remote_actions in parallel on each of its hosts. Actions are created automatically in Rake::RemoteTask#enhance.

### Methods

execute new

### Attributes

block | [R] | The block this action will execute.
task | [R] | The task this action is attached to.
workers | [R] | An Array of threads, one for each host this action executes on.

### Public Class methods

new(task, block)

Creates a new Action that will run `block` for `task`.

### Public Instance methods

execute(hosts, task, args)

Execute this action on `hosts` in parallel. Returns when block has completed for each host.

[Validate]