lib/streamer/functors/sum.rb in streamer-0.2.0 vs lib/streamer/functors/sum.rb in streamer-0.2.1
- old
+ new
@@ -5,9 +5,8 @@
def call
list.inject(0.0) do |total, item|
total + item[options.fetch(:property)]
end
end
-
end
end
end