Sha256: 7001db41a9d33bef5317c9f335ada3d02156fb79aaf08971f4af59977c5983b8

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

module Jekyll
  module Assets
    module Liquid
      class Tag
        module Defaults
          require_relative "defaults/image"

          module_function
          def set_defaults_for!(tag, args, asset)
            constants.select { |const| const_get(const).is_for?(tag) }.each do |const|
              const_get(const).new(args, asset).set!
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-assets-2.0.1 lib/jekyll/assets/liquid/tag/defaults.rb
jekyll-assets-2.0.0 lib/jekyll/assets/liquid/tag/defaults.rb