From: "Victor H. Goff III" Date: 2008-11-11T09:45:42+09:00 Subject: Re: Comparing variable to multiple values ------=_Part_47224_3869427.1226364492772 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline strings_array = ['word1', 'word2', 'word3'] a = 'word1' puts "good" if strings_array.include?(a) ------=_Part_47224_3869427.1226364492772--