Sha256: cb5eebc9f15a5aa657d98436966b68d57f84469a279b1051fac4ff3d588c9d81
Contents?: true
Size: 548 Bytes
Versions: 2
Compression:
Stored size: 548 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).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.1.3 | lib/jekyll/assets/liquid/tag/defaults.rb |
jekyll-assets-2.1.2 | lib/jekyll/assets/liquid/tag/defaults.rb |