Sha256: 81b36e1a01d58a0509a51d075ca7494caaf51313ef13893cabb4673c77c0b682
Contents?: true
Size: 672 Bytes
Versions: 12
Compression:
Stored size: 672 Bytes
Contents
module Videojuicer module SDKLiquidHelper module Filters class AssetBlock < ::Liquid::Block @@asset_ids = {} def self.reset! @@asset_ids = {} end def self.asset_ids @@asset_ids.deep_symbolize end def initialize tag_name, args, tokens @@asset_ids[tag_name] ||= [] @@asset_ids[tag_name] << tokens.to_s.gsub(/\{% id ([0-9]+){1,10} %\}.*/, "\\1").strip super end def render; nil; end; def unknown_tag tag_name, args, tokens; nil; end; end#end class end end end
Version data entries
12 entries across 12 versions & 1 rubygems