From: David Alan Black Date: 2001-11-01T03:01:54+09:00 Subject: [ruby-talk:24002] Re: Strangeness with undefining methods Hello -- On Thu, 1 Nov 2001, ts wrote: > >>>>> "P" == Paul Brannan writes: > > P> And when I undef a method, where does the method go, since I can't call > P> it? (I've noticed that I can still call remove_method after an undef). > > The method is still here but has no body, and ruby test this before > calling a method Is it OK, conceptually, to think of it in terms of reference count? In other words: if there's no identifier bound to the method, is it right to think that the method can never be accessed again? David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav