I know this is probably so easy, but I just can't find any documentation on it because it is not character class value. If 4 specific values exists, I do not want to output anything. How can I check that these values do not exist, otherwise output? if overrideVal1 != /Stamp/ or overrideVal2 != /Create/ or overrideVal3 != /6400/ or overrideVal4 != /5400000/ then puts "No results" else #call method to output results getValues() end -- Posted via http://www.ruby-forum.com/.