class Rubadana::Average
Public Instance Methods
name()
click to toggle source
# File lib/rubadana.rb, line 40 def name ; :average ; end
reduce(things ;)
click to toggle source
# File lib/rubadana.rb, line 41 def reduce things ; things.reduce(:+) / (1.0 * things.count) ; end