EnumExtras.average
You're seeing just the function
average
, go back to EnumExtras module for more information.
Specs
Calculates the average of the elements in the enumerable
.
It should return nil
if the enumerable
is empty.