how to see if an array contains a value ruby code example Example: ruby array has element >> ['Cat', 'Dog', 'Bird'].include? 'Dog' => true