Sha256: 16b55b71048e2dc2d99799909d9d99147774548a60b5a6af6c955c70d8877621

Contents?: true

Size: 426 Bytes

Versions: 24

Compression:

Stored size: 426 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

        self
      end

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
tdc-1.0 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.6.2 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.6.1 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.6.0 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.5.0 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.7 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.6.1 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.6 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.4.1 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.4 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.3.1 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.3 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.2 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.1 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.4.0 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.3.9 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.3.8 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.3.7 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.3.6.1 lib/tdc/definition_resolvers/definition_resolver.rb
tdc-0.3.6 lib/tdc/definition_resolvers/definition_resolver.rb