On 1 September 2010 17:53, Joel VanderWerf <joelvanderwerf / gmail.com> wrote:
> Is an asterisk too much typing?
>
> a = [1,2]
> b = [3,4]
>
> case 3
> when *a; puts "A"
> when *b; puts "B"
> end
>

That is rather cool, I did not know splat was working better than
expected here too.

Thanks,
B.D.