From: 7stud -- Date: 2012-12-04T04:04:40+09:00 Subject: Re: changing superclass 7stud -- wrote in post #1087690: > Nokan Emiro wrote in post #1087612: >> Hi, >> >> What you do here is inserting a new Module into the ancestors chain. >> (The superclass of class Dog doesn't change, it's still Animal.) >> > > If Animal is the superclass of Dog, then why doesn't Animal's greet() > method execute? ancestors() and superclass() don't allows tell the truth. -- Posted via http://www.ruby-forum.com/.