ruby check if array has string longer than 1 code example Example: ruby array has element >> ['Cat', 'Dog', 'Bird'].include? 'Dog' => true