On Thu, Jul 14, 2011 at 12:30 AM, Ryan Davis <ryand-ruby / zenspider.com> wrote:
>
> What you really want to execute is:
>
>> (1..100).each do |num|
>> FileUtils.mkdir "Prefix-%03d" % num
>> end

*facepalm* That's what I wanted to type. So used to format strings
doing it the non-Ruby way that muscle memory got me. My apologies!


-- 
Phillip Gawlowski

twitter.com/phgaw
phgaw.posterous.com

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
- Leibniz