From: Frederick Cheung Date: 2007-12-26T06:09:00+09:00 Subject: Re: How to know what class are there in a script file? On 25 Dec 2007, at 20:52, Magicloud Wang wrote: > Dear, > I think this disappeared in rails 2? > Nope, definitely still there. Was fiddling with it just a few days ago. Fred > 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 > >