From: Sebastian Hungerecker Date: 2007-04-21T16:46:19+09:00 Subject: Re: once modifier (pickaxe book page 391) ChrisKaelin wrote: > SyntaxError: compile error > (irb):3: syntax error, unexpected kDO > (irb):13: can't find string "EOF" anywhere before EOF That would be caused by leaving out the "EOF" not by replacing the for-loop with each. HTH, Sebastian Hungerecker -- Ist so, weil ist so Bleibt so, weil war so