From: Shai Rosenfeld Date: 2007-08-09T20:07:53+09:00 Subject: Re: case statement > a = [1,2,3,4] > result = case > when a.include?(1): 'this is what i want' > when a.include?(11): 'not result' > when a.include?(15): 'no good' > end ahhhhhhhhhhhhhhhh perfect. thanks. -- Posted via http://www.ruby-forum.com/.