From: ThoML Date: 2008-04-11T20:10:04+09:00 Subject: Re: Match string from possible strings > If "Test" (matches either of the following) string1, string2, string3 Does "match" mean "is equal" or "match a regexp"? If it is "is equal" - use include? - use case if it means regexp matching - use [...].grep.empty? for no match - build a single regexp to match all 3 constants and use =~ - ...