Would Object.const_get not work?

eval indeed looks ugly.

It kinda reminds me of a farmer who uses a new machine to work on his 
field, and then using his bare hands to dig holes for new seeds, because 
his new machine looks a bit awkward to him right now, and digging holes 
with his hands (using eval) is so much easier...
-- 
Posted via http://www.ruby-forum.com/.