Entries from 2008-09-03 to 1 day
以下の方法を考えたが、どれが一番良いだろうか…。 次の記事を書いたので、ぜひ参照していただきたい。 id:waritohutsu:20090116:1232076368 System.Randomクラスを利用してchar配列を生成し、文字列インスタンスを作成する System.IO.Path.GetRandomFileNam…
以下みたいな使い方は出来ないんですね、残念。 class AliasTest def self.hello "before" end end class AliasTest alias main_hello hello def self.hello "after" end end