From: Joel VanderWerf Date: 2010-09-02T00:53:47+09:00 Subject: Re: Array#=== as set equality On 09/01/2010 06:49 AM, Robert Dober wrote: > I say that because I'd prefer #=== to have the semantics of include?, > so that I can do > > case some_value > when some_array > when other_array > end Is an asterisk too much typing? a = [1,2] b = [3,4] case 3 when *a; puts "A" when *b; puts "B" end