> I would also consider it as a bug.
> 
> See: ri Object.eql
> 
> Martin

Thanks, Martin. I have been looking into this more. It seems that for 
Sets, Hashes, and Arrays to work properly with an object, both .eql? and 
.hash must be  defined in that object. I wrote a patch that implements 
both methods and sent it to Akinori Musha, the maintainer of IPAddr. He 
will be including my patch or something similar the next version.
-- 
Posted via http://www.ruby-forum.com/.