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