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