Private methods don't exist in Smalltalk. Every method is exposed as public,
and anyone can call it, from anywhere.
As you can select a protocol for your methods to arrange them under a name
or category, you may use the "private" category. This indicates to the users
that a method is private, and should not be called from outside the class.
As oposite, every instance variable is protected, and it can be seen just
from the class and its subclases. If you want to expose a variable, you need
to create accessors.

Hope this helps you. C Ya
-- 
Alan Rodas Bonjour
_______________________________________________
Pharo-users mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users

Reply via email to