Sha256: cf49f41f570d234364ece62245ada0403b9bb9016880036bc1bda31cc7d0438b
Contents?: true
Size: 871 Bytes
Versions: 12
Compression:
Stored size: 871 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 class SmilVideoFragment < ::Liquid::Block end class IdFragment < ::Liquid::Tag end class DeliveryFragment < ::Liquid::Tag end end end end
Version data entries
12 entries across 12 versions & 1 rubygems