method
==
==(mime_type)
public
Hide source
# File actionpack/lib/action_controller/mime_type.rb, line 128 def ==(mime_type) (@synonyms + [ self ]).any? { |synonym| synonym.to_s == mime_type.to_s } if mime_type end