From: markusjais@... Date: 2006-08-03T21:20:12+09:00 Subject: Re: how to create classes automatically thank you very much. Markus Chris Roos wrote: > Object.const_get("Array").new > > On 8/3/06, markusjais@gmx.de wrote: >> hi >> >> let's say I have a string with a class name as a value. >> I want to create a new instance of the class with the given class name. >> >> example: >> when I have a string like this: >> >> str = "Array" >> >> I want to create a new Array class base on the information in str. >> >> any ideas how this could be done ? >> >> thanks a lot >> >> Markus >> >>