From: Akinori MUSHA Date: 2002-12-18T03:59:02+09:00 Subject: [ruby-list:36799] Re: Array#=== は? At Wed, 18 Dec 2002 03:21:43 +0900, Take_tk wrote: > time = Time.local(2003,1,13) > case time.wday > when 0 > youbi = "日曜日" > when [1,2,3,4,5] when *[1,2,3,4,5] > youbi = "平日" > else > youbi = "土曜日" > end > puts "#{time}は#{youbi}です" -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "I believe in what I see, I believe in what I hear, I believe that what I'm feeling changes how the world appears."