I have a class being used in a unit test:

TC_Foo

I match it against a regexp:

/TC_(.*)/.match(self.class.name)

I end up with a string ($1 == "Foo") which I want to be an instance of Class 
(== Foo). How can I convert a String to a Class? Will I have to use 
ObjectSpace to find a Class whose Class#name == "Foo"?

Tim Bates
-- 
tim / bates.id.au