From: Ruby Admirer Date: 2007-03-24T03:50:52+09:00 Subject: Re: About class methods visibility (public/private) --0-283525894-1174675841=:92830 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit >Yukihiro Matsumoto wrote: >If you understand the current behavior of protected visibility, you >will understand why protected_class_method is not useful at all. >That's why we don't have it. You're absolutely right. You're not Matz for nothing :-) All classes are instances of the same class Class. Thus all classes have access to protected class methods. Protected visibility has the same behaviour as public visibility. Correct me if I'm wrong. --------------------------------- Get your own web address. Have a HUGE year through Yahoo! Small Business. --0-283525894-1174675841=:92830--