From: botp Date: 2011-02-27T11:32:31+09:00 Subject: Re: Newbie question On Sun, Feb 27, 2011 at 9:29 AM, Marc Chanliau wrote: > In Ruby it seems you can instantiate a class inside the class itself or > outside. that's ok, if you want to be my-class-centric rather than ruby's main centric. downside is, you cannot create instances of your class-centric class outside without invoking your class-centric instances inside that class-centric class. in short, you're losing some ease-of-use features. but hey, maybe that is what you want and have a use for it, and ruby happily does not prevent you :) > What is the accepted convention? this is ruby. either there are no rules nor convention, or there are many :) best regards -botp