# File lib/core/facets/array/average.rb, line 12
  def average
    return nil if empty?
    self.reduce(:+)/length.to_f
  end