Marc Heiler wrote:
> 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...

To be frank this is the solution that I came to. It is ugly but it 
works. I don't know (yet) any other way.


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