From: Florian Gross Date: 2004-12-05T00:12:44+09:00 Subject: Re: how to create an object of a class you don't know yet Daneel van Tonder wrote: > class GMClassManager > @@classHash = { 'CLASS_ROOM_DEFAULT' => GMRoom, > 'CLASS_ROOM_LOGIN' => GMLoginRoom, > } Using a constant instead would be nicer, I think.