From: Andrew Hume Date: 2007-07-25T00:55:25+09:00 Subject: object equivalence --Apple-Mail-21-826841543 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed i have two objects, a and b, both of the same class. i believe they have the same contents, but a.eql?(b) returns false if i write a method xxx that returns as a string the value of every field (much as to_s does), then a.xxx.hash == b.xxx.hash. i believe this latter shows a and b are equivalent; o why doesn't eql? agree? ------------------ Andrew Hume (best -> Telework) +1 732-886-1886 andrew@research.att.com (Work) +1 973-360-8651 AT&T Labs - Research; member of USENIX and LOPSA --Apple-Mail-21-826841543--