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