On Nov 7, 8:46 pm, Neil Curzon <neil.cur... / gmail.com> wrote: > Hi, all. I'm trying to understand chapter 24 of Programming Ruby. > I'm using "metaid.rb" from why the lucky stiff's site to help with the > examples. (http://whytheluckystiff.net/articles/seeingMetaclassesClearly.html) > > Everything is pretty straightforward except for the diagrams of > inheritance of metaclasses. Figure 24.2 indicates that for a direct > subclass of Object, its metaclass's superclass should be Object's > metaclass. When I try this out in irb, I don't get the expected > result. Possibly this diagram will help: http://phrogz.net/RubyLibs/RubyMethodLookupFlow.png