class Class1
def method1()
return 'm1'
end
end
c1 = Class1.new()
p c1, c1.method1()
class Class3 < Class1
def method2()
return 'm2'
end
end
c3 = Class3.new()
p c3, c3.method1()
p c3, c3.method2()
Y2xhc3MgQ2xhc3MxCiAgZGVmIG1ldGhvZDEoKQogICAgcmV0dXJuICdtMScKICBlbmQKZW5kCmMxID0gQ2xhc3MxLm5ldygpCnAgYzEsIGMxLm1ldGhvZDEoKQoKY2xhc3MgQ2xhc3MzIDwgQ2xhc3MxCiAgZGVmIG1ldGhvZDIoKQogICAgcmV0dXJuICdtMicKICBlbmQKZW5kCmMzID0gQ2xhc3MzLm5ldygpCnAgYzMsIGMzLm1ldGhvZDEoKQpwIGMzLCBjMy5tZXRob2QyKCkK