From: Jim Weirich Date: 2006-02-27T03:32:48+09:00 Subject: Re: Private methods - only available to oneself? It is good to ask questions to come to a better understanding. With that in mind... Minkoo Seo wrote: > Private/protected meaning of Ruby is unique, and I believe some kind of > elaboration on that point is needed. What method is accessible from the > outer space is quite important in learning a language, isn't it? In Ruby, the question "What class does this belong to?" tends to be deemphasized in favor of "What does this object do?". Considering that point of view tells me that instance based protection is not out of place at all in the Ruby scheme of things. Also, Ruby's instance based protect is not unique. The protection scheme in Eiffel is instance based as well. -- -- Jim Weirich -- Posted via http://www.ruby-forum.com/.