instance method
eql?
Ruby on Rails 7.1.6
Since v3.2.22.5Signature
eql?(other)
No documentation comment.
Parameters
-
otherreq
Source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 300
def eql?(other)
super || (self.class == other.class &&
@string == other.string &&
@synonyms == other.synonyms &&
@symbol == other.symbol)
end
Defined in actionpack/lib/action_dispatch/http/mime_type.rb line 300
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mime::Type