Sha256: 0888bf78fa0f787f5d5d05b691d85d5982b34c629f01c6b0bf98fcd70c3e263b
Contents?: true
Size: 551 Bytes
Versions: 2
Compression:
Stored size: 551 Bytes
Contents
module Jekyll module Assets module Liquid class Tag module Defaults require_relative "defaults/image" # TODO: In 3.0 env needs to be enforced, right now it's not # because it's maintain 2.0 API. module_function def set_defaults_for!(tag, args, asset, env = nil) constants.select { |const| const_get(const).is_for?(tag) }.each do |const| const_get(const).new(args, asset, env).set! end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-assets-2.0.3 | lib/jekyll/assets/liquid/tag/defaults.rb |
jekyll-assets-2.0.2 | lib/jekyll/assets/liquid/tag/defaults.rb |