Sha256: ab76aed8a8d79808240b583281c6c52a5e1640c36e6132a2e9f8dbf394c32efe

Contents?: true

Size: 459 Bytes

Versions: 38

Compression:

Stored size: 459 Bytes

Contents

module Rundock
  module Operation
    class Base
      OperationNotImplementedError = Class.new(NotImplementedError)

      attr_reader :instruction
      attr_reader :attributes

      def initialize(instruction, attributes)
        @instruction = instruction
        @attributes = attributes
        @attributes = {} unless attributes
      end

      def run(backend, attributes = {})
        raise OperationNotImplementedError
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
rundock-1.0.4 lib/rundock/operation/base.rb
rundock-1.0.2 lib/rundock/operation/base.rb
rundock-1.0.1 lib/rundock/operation/base.rb
rundock-1.0.0 lib/rundock/operation/base.rb
rundock-0.5.8 lib/rundock/operation/base.rb
rundock-0.5.7 lib/rundock/operation/base.rb
rundock-0.5.4 lib/rundock/operation/base.rb
rundock-0.5.3 lib/rundock/operation/base.rb
rundock-0.5.2 lib/rundock/operation/base.rb
rundock-0.5.0 lib/rundock/operation/base.rb
rundock-0.4.16 lib/rundock/operation/base.rb
rundock-0.4.15 lib/rundock/operation/base.rb
rundock-0.4.14 lib/rundock/operation/base.rb
rundock-0.4.13 lib/rundock/operation/base.rb
rundock-0.4.12 lib/rundock/operation/base.rb
rundock-0.4.11 lib/rundock/operation/base.rb
rundock-0.4.10 lib/rundock/operation/base.rb
rundock-0.4.8 lib/rundock/operation/base.rb
rundock-0.4.7 lib/rundock/operation/base.rb
rundock-0.4.6 lib/rundock/operation/base.rb