hi guys,

was wondering the syntax of how to do this:

case [1,2,3,4]

when 1: 'this is what i want'
when 11: 'not result'
when 15: 'no good'

end

((i.e, whatever value is included in the array))
...how do i do this?
tia
-- 
Posted via http://www.ruby-forum.com/.