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