On Apr 13, 2008, at 6:22 AM, Robert Dober wrote: >> >> Hmm... I don't understand Enumerator#select comes from >> Enumerable#select and already takes a block. > Stupid me *again* I meant Array#slice. I feel that my brain is > terribly disconnected from the keyboard, (I believe that Scotty was > right when talking into the mouse LOL). Well proofreading my posts > would be an option though :). > > I will express myself in Ruby > > assert_nothing_raised ("You see it would be nice that Array#slice and > Hash#slice had (almost) the same interface") do > [*1..100].slice(1..10){ |x| x.zero? } > end now that does make sense ;-) a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama