instance method
eql?
Ruby on Rails 8.0.4
Since v3.2.22.5Signature
eql?(other)
No documentation comment.
Parameters
-
otherreq
Source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 304
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 304
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Mime::Type