commit 3de09b8549a09926b14220c561656dd51be115a4
parent 50b4a8af157092723a8c96d66d89e1065b84f21d
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Sat, 22 Sep 2007 07:44:56 +0000
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
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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