From: Ruby Admirer Date: 2007-03-21T22:46:07+09:00 Subject: About class methods visibility (public/private) --0-2001027920-1174484749=:61788 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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. --------------------------------- Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. --0-2001027920-1174484749=:61788--