Permalink
Browse files

Changed implementation of SwissMatch::Community#eql?

  • Loading branch information...
1 parent 29085b2 commit e341cf84d49e0b75c25c8ab131dd8e4946c9f71d @apeiros committed Sep 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/swissmatch/community.rb
@@ -76,7 +76,7 @@ def hash
# @private
# @see Object#eql?
def eql?(other)
- self.class == other.class && @community_number == other.community_number
+ self.class.eql?(other.class) && @community_number.eql?(other.community_number)
end
# @return [String]

0 comments on commit e341cf8

Please sign in to comment.