From: Guillaume Marcais Date: 2003-05-17T04:29:16+09:00 Subject: Re: public/protected/private syntax On Friday 16 May 2003 11:53 am, you wrote: > Why would private methods be documented? They belong to the implementation > of a class, not to its interface. No quite true. You can call all the private method of the Kernel module, can't you? A private method can be call as long as there is no receiver specified. The proposed syntax would apply to module too (cheering and applause :). > As for protected, you're only going to need it if you intend your class > to be inherited and want to expose some part of the implementation to > subclasses, which does certainly not happen in the case of the core > classes. > > Inheritance is not really used a lot in Ruby, because > "it's at best implementation sharing" (matz dixit)