Very nice! Thanks!

>   output = Kernel.const_get(output) rescue output

-- 
Posted via http://www.ruby-forum.com/.