From: Gavin Sinclair Date: 2002-11-21T18:12:07+09:00 Subject: Re: Thoughts on Ruby From: "Thomas Gagn�" > := assignment > = equality (they are equal objects) > == identity (they're both the *same* object) > > I should have used identity. Is there (a need for) an > equivalent in Ruby? I've got along fine without it, but you can use o1.__id__ == o2.__id__ if you need it. I'm not arguing against a new method, though. Funny, I thouht Object#eql? did this - lucky I checked before posting. Gavin