Ruby Vérifiez si la valeur dans le tableau
['Cat', 'Dog', 'Bird'].include?('Dog')
Classy Answer
['Cat', 'Dog', 'Bird'].include?('Dog')
>> ['Cat', 'Dog', 'Bird'].include? 'Dog'
=> true