From: Minkoo Seo Date: 2006-02-11T18:53:24+09:00 Subject: Re: Private methods - only available to oneself? Erik Veenstra wrote: > Private methods are only callable from within the same objects. It does in Ruby. However, Java and C++ allows that if the method is called from another method which is public. > class Foo > protected > def bar > puts "hi" > end > end > > f = Foo.new > f.bar # Should fail... > I agree with you that this code should fail. I'm not saying that it's incorrect. I want to find out the reason of design decision. Best, Minkoo Seo