method
==
==(mime_type)
public
Hide source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 266 def ==(mime_type) return false unless mime_type (@synonyms + [ self ]).any? do |synonym| synonym.to_s == mime_type.to_s || synonym.to_sym == mime_type.to_sym end end