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