How to check if a value exists in an array in Ruby How to check if a value exists in an array in Ruby ruby ruby