Subject: Re: case ... when and arrays (or what was why_ showing us at
From: Drew Olson <olsonas gmail.com>
Date: Thu, 12 Oct 2006 05:26:56 +0900
References: 219177
In-reply-to: 219177
If you just want to check if the array contains that string somewhere,
can you just use:
if foo =~ array.join(" ")
blah
else
blah2
end
--
Posted via http://www.ruby-forum.com/.