以下みたいな使い方は出来ないんですね、残念。
class AliasTest def self.hello "before" end end class AliasTest alias main_hello hello def self.hello "after" end end
以下みたいな使い方は出来ないんですね、残念。
class AliasTest def self.hello "before" end end class AliasTest alias main_hello hello def self.hello "after" end end