From: David Alan Black Date: 2001-11-02T20:11:43+09:00 Subject: [ruby-talk:24160] Re: Strangeness with undefining methods Hello -- On Fri, 2 Nov 2001, ts wrote: > >>>>> "D" == David Alan Black writes: > > >> The method is still here but has no body, and ruby test this before > >> calling a method > > D> Is it OK, conceptually, to think of it in terms of reference count? > > Well, no, at least for me. Reference count make me think to a reference > counting GC. With such a gc an object is removed when its count is > null. This is not the case here. That's what I meant by "conceptually" :-) Let me ask it differently, though. Given this: def thing; end alias :other :thing undef other undef thing am I right in thinking that the former #thing can never be called again? (i.e., there's no way to find it) David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav