From: oinkoink+unet@... (Bret Jolly) Date: 2003-05-05T05:35:34+09:00 Subject: Re: GC.garbage_collect "Hal E. Fulton" wrote in message news:<0ee501c31209$5992bba0$0300a8c0@austin.rr.com>... > ----- Original Message ----- > From: "Yukihiro Matsumoto" > To: "ruby-talk ML" > Sent: Sunday, May 04, 2003 1:32 AM > Subject: Re: GC.garbage_collect > > % ri garbage_collect > > The method named `garbage_collect' is not unique among Ruby's classes > > and modules: > > GC#garbage_collect, ObjectSpace::garbage_collect > > % ri GC#garbage_collect > > ----------------------------------------------------- GC#garbage_collect > > garbage_collect -> nil > > ------------------------------------------------------------------------ > > Equivalent to GC::start. > > include GC > > garbage_collect #=> nil > > See? > It's a little unusual that two equivalent methods > should be defined at different levels. Usually > both are instance level or both class/module level. > I *think* that was what confused Bret. I think that was it. Thanks for the help, guys. Regards, Bret