From: Michael Trier Date: 2006-02-24T00:37:07+09:00 Subject: Re: Converting a string to a class Just learning, but what's wrong with eval? I do something like the following in order to convert from a string to an object of the type specified by the string: a = "MyClass" my_class = eval(a) my_class.to_s Michael