On Fri, Jul 15, 2011 at 10:34 AM, Robert Klemme <shortcutter / googlemail.com>wrote: > On Thu, Jul 14, 2011 at 8:55 PM, Simon Harrison <simon / simonharrison.net> > 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/ > > I think Ryan was saying that `receiver % arg` was syntactic sugar for `receiver.%(arg)` but the second part was in a quote which made it look like it wasn't part of his response, so his response looked unfinished.