From: Hugh Sasse Staff Elec Eng Date: 2000-11-22T04:09:16+09:00 Subject: [ruby-talk:6505] Re: redefining methods in a hierarchy. On Wed, 22 Nov 2000, GOTO Kentaro wrote: > In message "[ruby-talk:6503] redefining methods in a hierarchy." > on 00/11/22, Hugh Sasse Staff Elec Eng writes: [...] > >of Ruby, can I ask an object which class really handles a given method? > >Then I know where to make the change. > > Are you looking for something like this? > > class Class > def whereis(meth) [...] > end > end > [...] I'm looking for exactly that. :-) Thank you. > -- gotoken > > Hugh hgs@dmu.ac.uk