Sha256: 3b34af31fd4c03befdf17f8e35f6a4539c626b754b1b6acb25ef0f6284b935b0

Contents?: true

Size: 412 Bytes

Versions: 2

Compression:

Stored size: 412 Bytes

Contents

module Tdc
  module DefinitionResolvers
    #
    # Base class for any definition resolver.
    #
    class DefinitionResolver
      attr_reader :current_catalog

      def configure_current_catalog(current_catalog)
        @current_catalog = current_catalog
      end

      def resolve(_instance_definition)
        raise Tdc::MissingOverrideError, "Implement the 'resolve' method"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdc-0.3.1 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.3.0 lib/tdc/definition_resolvers/definition_resolver.rb