lib/simple_metrics/functions.rb in simple_metrics-0.4.0 vs lib/simple_metrics/functions.rb in simple_metrics-0.4.2

- old
+ new

@@ -1,24 +1,24 @@ module SimpleMetrics module Functions - # calculate the maximum value for multiple targets - # - # params: + # calculate the maximum value for multiple targets + # + # params: # data_points [1, 3, 5], [2, 1, 6] # # return: # array [2, 3, 6] - def max(*data_points) + def max(*data_points) end # calculate the minimum value for multiple targets def min(*data_points) end # add offset to each value - def offset(*data_points) + def offset(*data_points) end # multiple each value def scale(*data_points) end \ No newline at end of file