> I have a code generation problem, and this looks to address my requirements
> very well.

careful - if you go the

>>>>     "puts \"#{line.chomp}\"\n"

route an errant '#{' or '`' in your input will cause a syntax error.  the
orginal method of

   "puts "#{ line.chomp.dump }\n"

will always work though.

cheers.

-a
-- 
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze.  --Nagarjuna
===============================================================================