From: ts Date: 2002-06-09T23:31:05+09:00 Subject: Re: Hash#===() >>>>> "H" == Han Holl writes: H> class Hash H> alias === has_key? H> end I've not understood you want to write this ? hash = {"aa" => 12} case "aa" when hash puts "ok" end Guy Decoux