]> git.cworth.org Git - sup/commitdiff
bugfix: person comparisons. effect is that reply to all option is omitted unless...
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 22 Sep 2007 07:44:56 +0000 (07:44 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 22 Sep 2007 07:44:56 +0000 (07:44 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@591 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/person.rb

index 1c6e5f8f095f15f70ef7f586fe1254efdcbcd9f8..78eace9993e106435125b05fc4693f1b3913acfd 100644 (file)
@@ -159,6 +159,9 @@ class Person
 
     Person.new name, email
   end
+
+  def eql? o; email.eql? o.email end
+  def hash; email.hash end
 end
 
 end