From: Ruby Admirer Date: 2007-03-22T17:41:41+09:00 Subject: Re: About class methods visibility (public/private) --0-1055535874-1174552883=:79882 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Is there anybody for answering my questions ? Thanks in advance. >Ruby Admirer wrote: >Hi all, > >Here are some questions regarding the visibility of class methods : > >1/ why public, protected, private methods cannot be used for defining the visibility of class methods in addition to defining the visibility of instance methods ? Is there a technical reason or a conceptual reason for this ? >2/ why the protected_class_method is missing ? >The only methods are private_class_method and public_class_method. >3/ The naming of these methods are quite confusing. Each time I read them I understand "give me the private/public class method ...". The naming is too/very close to private_methods, public_methods, ... >I would prefer something like class_private, class_protected, class_public. >Thanks for any clarification. --------------------------------- It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. --0-1055535874-1174552883=:79882--