Sha256: 3567e6cbebe4b27594639c74caa174e8d3f4d11d5a42406869e2e0fe3f493c30

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

module Kentico
  module Kontent
    module Resolvers
      ##
      # This class instantiate the resolver based on the name from configuration.

      class InlineContentItemResolver
        def self.for(config)
          class_name = config.inline_content_item_resolver
          class_name && Module.const_get(class_name).new
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kontent-jekyll-0.11.1 lib/kontent-jekyll/resolvers/inline_content_item_resolver.rb
kontent-jekyll-0.11.0 lib/kontent-jekyll/resolvers/inline_content_item_resolver.rb