class Liquid::Template::TagRegistry

def [](tag_name)

def [](tag_name)
  return nil unless @tags.key?(tag_name)
  return @cache[tag_name] if Liquid.cache_classes
  lookup_class(@tags[tag_name]).tap { |o| @cache[tag_name] = o }
end