Sha256: 10bcc9599c16bdb3d51b66d40d1730ace4f1812fc0f3a9493ca52bd252cc549e
Contents?: true
Size: 188 Bytes
Versions: 92
Compression:
Stored size: 188 Bytes
Contents
module Mandy module Reducers class MaxReducer < Base def reducer(key,values) values.map! {|value| value.to_f} emit(key, values.max) end end end end
Version data entries
92 entries across 92 versions & 2 rubygems