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