1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
class Parent private def method p true end end class Child < Parent public def call_method method end end Child.new.call_method
1
true