From: fedzor Date: 2008-02-08T08:17:54+09:00 Subject: Re: Dynamically instantiate a class On Feb 7, 2008, at 10:22 AM, fedzor wrote: > Or you could do this: > > def create_class klass > klass.new > end > > create_class "subClass1" #=> # Whoops! This should be: create_class subClass1 when you create a class, it assigns the class to the name you give it --------------------------------------------| If you're not living on the edge, then you're just wasting space.