class ActionView::LookupContext::DetailsKey

def self.details_cache_key(details)

def self.details_cache_key(details)
  if details[:formats]
    details = details.dup
    details[:formats] &= Template::Types.symbols
  end
  @details_keys[details] ||= TemplateDetails::Requested.new(**details)
end