From: wmorgan Date: Sat, 22 Sep 2007 07:44:56 +0000 (+0000) Subject: bugfix: person comparisons. effect is that reply to all option is omitted unless... X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=3de09b8549a09926b14220c561656dd51be115a4;p=sup bugfix: person comparisons. effect is that reply to all option is omitted unless needed git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@591 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/person.rb b/lib/sup/person.rb index 1c6e5f8..78eace9 100644 --- a/lib/sup/person.rb +++ b/lib/sup/person.rb @@ -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