From: Jeff Pritchard Date: 2006-07-15T00:54:44+09:00 Subject: Re: Don't understand :: in ActionController::Base Hi P奪l, I'm a newbie too. I'll stick my neck out and answer here just so as to "trick" an expert into answering. Once they see my miserable excuse for an answer, they will be honor bound to correct me :) ActionController::Base refers to the "Base" class of the Module ActionController. So you are not "inheriting" the whole module, just the "Base" class of the module. Makes sense for a Class to inherit a Class definition rather than a whole module's definition. best, jp P奪l Bergstr旦m wrote: > P奪l Bergstr旦m wrote: >> I understand the concept of classes and subclasses thanks to the >> excellent "Programming Ruby - The Pragmatic Programmer's Guide". >> However, I don't understand what :: signify in terms of inheritance, >> parent and child in e.g. >> >> ActionController::Base > > Btw, I'm told that I can find the answer in chapter 9, starting at page > 117. But I read it on the web at > http://www.ruby-doc.org/docs/ProgrammingRuby/, so I have no chapters. -- Posted via http://www.ruby-forum.com/.