From: ts Date: 2003-02-13T01:22:16+09:00 Subject: Re: creating objects using strings >>>>> "G" == George Mochrie writes: G> Is it possible to create an object of a specific type when all I have is the G> name of the class in a string? a class is stored in a constant, if you have its name you can retrieve the associated constant with #const_get For example pigeon% ruby -e 'klass = "Array"; p Object.const_get(klass).new' [] pigeon% Guy Decoux