On Jul 23, 2005, at 15:45, Lionel Thiry wrote:

>
>> but I'm
>> wondering if there are any plans to provide the corresponding type of
>> thing for methods, i.e. local instance methods. To clarify, a local
>> instance method is a method that does not participate in the
>> inheritance chain and is only callable from within the class it is
>> defined.
>>
>> T.
>>
>>
>
> I don't understand. Isn't what the private keyword is for?

Private in Ruby means that methods declared private may be called  
only without specifying a receiver. A subclass can call a superclass'  
private method as long as it is called as method() and not self.method 
(). Unlike in Java and C++, where "private" means, well, private for  
instances of this particular class.

Gennady.

>
> -- 
> Lionel Thiry
>
> Personal web site: http://users.skynet.be/lthiry/
>
>