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 ?