How do i instantiate a class whose name is contained in a variable ?

For example

  Class myClass
  end

  myVariable="myClass"

So basically i like to use the content of myVariable to dictate which
class to instantiate, i.e. doing the same thing as myClass.new but let
myVariable determines which class i instantiate.

Thanks in advance

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