lib/riak/map_reduce/results.rb in riak-client-1.4.5 vs lib/riak/map_reduce/results.rb in riak-client-2.0.0.rc1

- old
+ new

@@ -10,10 +10,10 @@ @hash = create_results_hash(mr.query) end # Adds a new result to the collector # @param [Fixnum] phase the phase index - # @param [Array] data the phase result + # @param [Array] result the phase result def add(phase, result) @hash[phase] += result end # Coalesces the query results