On Jan 12, 2008, at 2:07 PM, Roger Pack wrote:

> That should be in the standard lib for coolness and ruby-ish-ness :)
>
>> class Numeric
>>    def of &block
>>      Array.new(to_i).map &block
>>    end
>> end
>>
>> list = 42.of{ those }

i've RCR'd it a few times, but i think the migrations have lost it  
the mess... ;-(

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