Ruby面向对象 yangbinfc · 2011-01-26 11:29 · Markdown protected: 和java不一样,不能被当前创建的类对象,有外部访问,但可以被传入的对象调用。 private : 不能被传入的值调用