From: 7stud -- Date: 2012-12-15T06:20:13+09:00 Subject: Re: Ruby class hierarchy confusion If you have these classes defined: class Parent end class A < Parent end Here is what the basic hierarchy looks like: +--------+ +--------+ | Basic | | Basic | | Object | | Object | | | | | +--------+ +--------+ ^ ^ | | | | +--------+ +--------+ | | | | | Object | | Object | | | | | +--------+ +--------+ ^ ^ | | | | +--------+ +--------+ | | | | | Parent | | Module | | | | | +--------+ +--------+ ^ ^ | | | | +-----+ +-------+ a = -----> | A | -----> | Class | A.new | | | | +-----+ +-------+ Think about going from an object to the right into its class, and then up the hierarchy, -- Posted via http://www.ruby-forum.com/.