From: Masaki Suketa Date: 1997-11-18T17:20:47+09:00 Subject: [ruby-list:5327] Re: Questions on specs and threads 助田です。 In message "[ruby-list:5323] Re: Questions on specs and threads" matz@netlab.co.jp (Yukihiro Matsumoto) writes : >実はModule#===が再定義されているので,以下のような使い方が出 >来ます. では、こんなのどうだろうと思ってやってみました obj = "abc" case obj when Object print "object\n" when String print "string\n" else end "object"って出てきて "string" は、出ないのか。 obj.type は、String だけどこれはこういうものですか? (ruby - 1.0での話です) 助田 雅紀(masaki.suketa@tonen.co.jp)