"Nathaniel Talbott" <ntalbott / rolemodelsoft.com> writes:

> Ah, I see. If we think of the class as just holding a reference to a method
> instance, alias_method is just adding a new method reference to the class
> and pointing it at the same method instance as the original reference.
> Changing what the original reference points at obviously doesn't change what
> the new reference points at. Now that I understand that, the current
> behavior makes sense, but it certainly doesn't seem obvious at first blush.
> Dave & Andy, do you think it would be valuable to clarify this in the book?

Good idea:

   http://www.rubygarden.org/ruby?ChangesToProgrammingRuby


Dave