From: trans Date: 2009-05-25T21:53:50+09:00 Subject: Re: Do you nest classes inside classes? On May 25, 7:24 am, Andy F wrote: > Generally I think using nested classes for real helper classes that can conceptually only be for use with the parent class is a useful way of avoiding namespace clutter. +1 This is the only really good reason I've found for doing so. On very rare occasion, when I had only one term in mind for both a namespace and a base class, this has seemed useful: class BaseClass class SubClass < self end end The fact hat the namespace is a class rather than a module is inconsequential. In fact, I remain of the opinion that Ruby would be better if Class and Module were not distinct. T.