class Array

Public Instance Methods

mean() click to toggle source
# File lib/genevalidator/ext/array.rb, line 55
def mean
  inject(:+).to_f / length
end