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