以下のコードで、Up クラスから Base の「hello」メソッドを取得するにはどうすればよいですか?
class Base
def hello
p 'hello from Base'
end
end
class Up < Base
def hello_orig
# how to call hello from Base class?
end
def hello
p 'hello from Up'
end
end
u = Up.new
u.hello_orig # should return 'hello from Base'