From: Gavin Sinclair Date: 2002-12-19T07:06:25+09:00 Subject: Re: Mommy, where do methods come from? From: "Chris Pine" > > 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?) > class Base def foo 15 end end Now we want to access Base#foo in derived even though it's overwritten. class Derived alias_method :old_foo, :foo def foo -72 end def bar old_foo end end I don't think it's a very nice way to do it, but then I've never needed to. Gavin