Sha256: 6e86eaeb38bc9a3749b6d58975f29a6456ee9fa88d3492645cbdfd20f9516a55

Contents?: true

Size: 310 Bytes

Versions: 34

Compression:

Stored size: 310 Bytes

Contents

module Rundock
  module Operation
    class Command < Base
      def run(backend, attributes = {})
        @instruction.each do |i|
          if i.is_a?(Hash)
            attributes.merge!(i)
            next
          end

          backend.run_commands(i, attributes)
        end
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
rundock-0.4.2 lib/rundock/operation/command.rb
rundock-0.4.1 lib/rundock/operation/command.rb
rundock-0.4.0 lib/rundock/operation/command.rb
rundock-0.3.0 lib/rundock/operation/command.rb
rundock-0.2.11 lib/rundock/operation/command.rb
rundock-0.2.10 lib/rundock/operation/command.rb
rundock-0.2.9 lib/rundock/operation/command.rb
rundock-0.2.8 lib/rundock/operation/command.rb
rundock-0.2.7 lib/rundock/operation/command.rb
rundock-0.2.6 lib/rundock/operation/command.rb
rundock-0.2.5 lib/rundock/operation/command.rb
rundock-0.2.4 lib/rundock/operation/command.rb
rundock-0.2.3 lib/rundock/operation/command.rb
rundock-0.2.2 lib/rundock/operation/command.rb