From: Martin DeMello Date: 2004-05-25T17:03:44+09:00 Subject: Re: [RCR] Numeric#of Yukihiro Matsumoto wrote: > > Besides that Numeric#of is not very intuitive for me (non native > English speaker). It seems too vague for me. Is the name "of" really > OK for you guys? I don't like it in the case where the block actually uses the index - i.e. 3.of { Array.new } seems fine, but 3.of {|i| i+1} doesn't. I can't think of a better name either, though. (And it seems worth reiterating my idea of a collecting block syntax - 3.times [|i| i+1] would be nicely orthogonal to the 'times' iterator) martin