ruby check if array contains value code example Example: contains ruby array >> ['Cat', 'Dog', 'Bird'].include? 'Dog' => true