Ruby prüfen, ob der Wert in Array ist
['Cat', 'Dog', 'Bird'].include?('Dog')
Classy Answer
['Cat', 'Dog', 'Bird'].include?('Dog')
>> ['Cat', 'Dog', 'Bird'].include? 'Dog'
=> true