From: Stefan Matthias Aust Date: 2001-05-30T07:41:29+09:00 Subject: [ruby-talk:15972] Re: Experimental "in" operator for collections matz@zetabits.com (Yukihiro Matsumoto) wrote: >I like this idea. Thanks. > My only concern left is whether "include?" is a >proper method for "in" operator or not. Well, it's just another rule like that "for" uses "each". Of course, one could add a method "in" to Object and use def in(collection) collection.includes? self end This would be more similar to the way operators like "+" or "[]" are treaten, but I'm not sure whether this is really needed. bye -- Stefan Matthias Aust \/ Truth Until Paradox