# File lib/rfuzz/stats.rb, line 35 35: def sample(s) 36: @sum += s 37: @sumsq += s * s 38: if @n == 0 39: @min = @max = s 40: else 41: @min = s if @min > s 42: @max = s if @max < s 43: end 44: @n+=1 45: end