From 3de09b8549a09926b14220c561656dd51be115a4 Mon Sep 17 00:00:00 2001 From: wmorgan Date: Sat, 22 Sep 2007 07:44:56 +0000 Subject: [PATCH] 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 --- lib/sup/person.rb | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.45.2