method
===
===(list)
public
Hide source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 252 def ===(list) if list.is_a?(Array) (@synonyms + [ self ]).any? { |synonym| list.include?(synonym) } else super end end