From: Magicloud Wang Date: 2007-12-26T05:53:28+09:00 Subject: Re: How to know what class are there in a script file? Dear, I think this disappeared in rails 2? Thanks. On 2007年12月25日Tuesday 19:19:11 Frederick Cheung wrote: > On 25 Dec 2007, at 10:40, Oscar Del ben wrote: > > Magicloud Wang wrote: > >> Dear, > >> I mean after I 'load' or 'require' a file, How to know what > >> classes I > >> have > >> got? > >> > >> Thanks. > > > > I think there's no way of doing that, you can view the methods for a > > class or object if you want > > activesupport has something like that. Have a look at > Dependencies#new_constants_in > > Fred