From: Martin DeMello Date: 2008-09-08T17:23:09+09:00 Subject: Re: Newb question On Sun, Sep 7, 2008 at 11:11 PM, Rong wrote: > But why is it incrementing? It's not. n.times {|i| ... } calls the block with values from 0 to n-1, then returns n. The loop variable isn't incremented that one final time, if that's what you were asking. martin