I need help with determining whether a value in an array in non numeric. ere is the code

class Array

def sum

raise "The mean could not be calculated for this array" if self.empty? or self.include?()

inject{ |sum,x| sum ? sum + x.to_f : x.to_f }

end

Do I write self.include?(a-z)?