Class: SSHKit::Custom::Runner::Sequential

Inherits:
Abstract
  • Object
show all
Defined in:
lib/sshkit/custom/runner/sequential.rb

Instance Attribute Summary

Attributes inherited from Abstract

#backends, #options

Instance Method Summary collapse

Methods inherited from Abstract

#active_backend, active_backend, active_backend=, #active_backend=, #apply_to_bck, create_runner, #do_wait, #initialize, scope, scope_storage, #send_cmd

Constructor Details

This class inherits a constructor from SSHKit::Custom::Runner::Abstract

Instance Method Details

#apply_block_to_bcks(&block) ⇒ Object



5
6
7
8
9
10
# File 'lib/sshkit/custom/runner/sequential.rb', line 5

def apply_block_to_bcks(&block)
  backends.each do |backend|
    apply_to_bck backend, &block
    do_wait
  end
end