News for hackers. Stuff that matters.
Re:Wisdom I picked up from Eloquent Ruby, Chapters 1-9 by eaurouge on Thursday April 05, 2012 @06:22PM (#3804951)
What's missing in the other comments is that you can't call private methods with an explicit receiver, for example my_object.private_meth or even self.private_meth. On the other hand, public and protected methods can be called on self.

See this blog post for more info: http://www.skorks.com/2010/04/ruby-access-control-are-privat...

There are no comments on this comment yet.