method
==
==(item)
public
Hide source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 78 def ==(item) name == (item.respond_to?(:name) ? item.name : item) end