From: nobu.nokada@... Date: 2002-12-19T15:21:52+09:00 Subject: Re: Mommy, where do methods come from? Hi, At Thu, 19 Dec 2002 14:41:28 +0900, Bulat Ziganshin wrote: > >> Finally (and I'm sure I should know this one already), how would I call > >> Object#to_s on foo if I have already redefined to_s? (Is this even > >> possible?) > > nnsn> Impossible outside redefined to_s, unless it's aliased. > > if Ruby will call some method before adding each method, it will be possible Unfortunately, such hooks are only Class#method_added and so on, which will be called after it. -- Nobu Nakada