Sha256: d49d48e37871782ff98a687fbf15b51f900754f2ff16c9f0a699a3733e59d1dc

Contents?: true

Size: 324 Bytes

Versions: 30

Compression:

Stored size: 324 Bytes

Contents

module SSHKit

  module Runner

    class Abstract

      attr_reader :hosts, :block

      def initialize(hosts, &block)
        @hosts       = Array(hosts)
        @block       = block
      end

      private

      def backend(host, &block)
        SSHKit.config.backend.new(host, &block)
      end

    end

  end

end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
sshkit-1.1.0 lib/sshkit/runners/abstract.rb
sshkit-1.0.0 lib/sshkit/runners/abstract.rb
sshkit-0.0.34 lib/sshkit/runners/abstract.rb
sshkit-0.0.33 lib/sshkit/runners/abstract.rb
sshkit-0.0.32 lib/sshkit/runners/abstract.rb
sshkit-0.0.31 lib/sshkit/runners/abstract.rb
sshkit-0.0.29 lib/sshkit/runners/abstract.rb
sshkit-0.0.28 lib/sshkit/runners/abstract.rb
sshkit-0.0.27 lib/sshkit/runners/abstract.rb
sshkit-0.0.26 lib/sshkit/runners/abstract.rb
sshkit-0.0.25 lib/sshkit/runners/abstract.rb
sshkit-0.0.24 lib/sshkit/runners/abstract.rb
sshkit-0.0.23 lib/sshkit/runners/abstract.rb
sshkit-0.0.22 lib/sshkit/runners/abstract.rb
sshkit-0.0.21 lib/sshkit/runners/abstract.rb
sshkit-0.0.19 lib/sshkit/runners/abstract.rb
sshkit-0.0.18 lib/sshkit/runners/abstract.rb
sshkit-0.0.16 lib/sshkit/runners/abstract.rb
sshkit-0.0.15 lib/sshkit/runners/abstract.rb
sshkit-0.0.14 lib/sshkit/runners/abstract.rb