From: Luca Scaljery Date: 2007-02-15T05:36:52+09:00 Subject: how to do: var1 = var2.new(.....) (var2 contains classname) Hi All I have a situation in which I have the name of the class in a variable So normally I would do song = Song.new("Bicylops", "Fleck", 260) But I need to do something like var2 = "Song" var1 = var2.new("Bicylops", "Fleck", 260) This doesn't work! Any suggestions how to do this ? Thnx LuCa -- Posted via http://www.ruby-forum.com/.