From: Logan Capaldo Date: 2007-05-30T07:50:05+09:00 Subject: Re: Underscore ------=_Part_12044_7251006.1180479005704 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 5/29/07, Robert Klemme wrote: > > > I was too fast (again). Even though the return value is used, I'd rather > do > > n.times { x = yield x } > > than using #inject which does more than needed in this case. :-) > > Now, did I look at all aspects...? Almost. you'd actually need n.times { x = yield x } x Kind regards > > robert > > > ------=_Part_12044_7251006.1180479005704--