ruby method to confirm input equal to array code example Example: ruby array has element >> ['Cat', 'Dog', 'Bird'].include? 'Dog' => true