>>98 コレじゃ駄目?
class X
def hoge
p :hoge
end
def poyo
hoge;piyo
end
def piyo;end
end
class Y < X
def piyo
p :piyo
end
end
Y.new.poyo