I want to create an object from a class, but the name of that class is 
in a variable, so the form obj=Class.new(args) can't be used. How can it 
be done? Without using eval, because its a bit messy and unelegant.

The equivalent of obj=$variable_with_class_name(args) in php.

Thanks.
RGR

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