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-1.0.1 lib/rundock/operation/command.rb
rundock-1.0.0 lib/rundock/operation/command.rb
rundock-0.5.8 lib/rundock/operation/command.rb
rundock-0.5.7 lib/rundock/operation/command.rb
rundock-0.5.4 lib/rundock/operation/command.rb
rundock-0.5.3 lib/rundock/operation/command.rb
rundock-0.5.2 lib/rundock/operation/command.rb
rundock-0.5.0 lib/rundock/operation/command.rb
rundock-0.4.16 lib/rundock/operation/command.rb
rundock-0.4.15 lib/rundock/operation/command.rb
rundock-0.4.14 lib/rundock/operation/command.rb
rundock-0.4.13 lib/rundock/operation/command.rb
rundock-0.4.12 lib/rundock/operation/command.rb
rundock-0.4.11 lib/rundock/operation/command.rb
rundock-0.4.10 lib/rundock/operation/command.rb
rundock-0.4.8 lib/rundock/operation/command.rb
rundock-0.4.7 lib/rundock/operation/command.rb
rundock-0.4.6 lib/rundock/operation/command.rb
rundock-0.4.4 lib/rundock/operation/command.rb
rundock-0.4.3 lib/rundock/operation/command.rb