From: Robert Klemme Date: 2007-10-12T15:35:20+09:00 Subject: Re: will #in? be in ruby2? (was Re: Finding shared elements between to arrays.) 2007/10/12, George : > On 10/10/07, Alex Gutteridge wrote: > > On 10 Oct 2007, at 14:06, Peņa, Botp wrote: > > Daniel's point (I think) is that this pollutes the top level Object > > with a property which for many (most?) Objects is never relevant. If > > you never put it an Object into a collection then the idea of being > > 'in' something makes no sense. > > Just playing devil's advocate, but could the same thing not be said > for Object#hash ? Hehe, very true. I think the judgment whether to put a method in Object should rather be whether it is sufficient general - which makes it harder to put down #in?. Me personally I am rather unbiased on this one apart from that I do not find the current state of affairs difficult to understand or use. My 0.02EUR Kind regards robert