I have a variable @foo that holds the name of an object.
How I can create a instance of that object.
I need to create a instance of an “Elephant” object
@object_name = “Elephant”
@object_name.new # this does’nt work
Is there a way to do this without eval ?