From: femto femto Date: 2006-08-17T19:32:36+09:00 Subject: Re: something like Class.forName(''...").newInstance in Java? got it,Thanks. On 8/17/06, Farrel Lifson wrote: > On 17/08/06, femto femto wrote: > > hello all, > > I'm looking for something like Class.forName(''...").newInstance in Java?, > > I mean, where the className is passed in as a String, > > do ruby have similiar construct like that? > > Thank you very much. > > > > > > Object.const_get("...").new > > Farrel > > -- Best Regards femto http://femto.blogdriver.com