From: Robert Klemme Date: 2011-07-16T00:34:13+09:00 Subject: Re: Creating a range of directories On Thu, Jul 14, 2011 at 8:55 PM, Simon Harrison wrote: > Ryan Davis wrote in post #1010583: >> On Jul 13, 2011, at 14:51 , Simon Harrison wrote: >> >> >> What you really want to execute is: >> >>> (1..100).each do |num| >>>   FileUtils.mkdir "Prefix-%03d" % num >>> end >> >> which is just syntactic sugar for: > > Thanks for clearing that up, Ryan. Out of curiosity what was the end of > the last line above? It's called "colon": http://en.wikipedia.org/wiki/Colon_%28punctuation%29 Or what did you mean? SCNR robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/