lib/mongo/operation/map_reduce/result.rb in mongo-2.5.3 vs lib/mongo/operation/map_reduce/result.rb in mongo-2.6.0

- old
+ new

@@ -101,10 +101,10 @@ # # @return [ Result ] The result if verification passed. # # @since 2.0.0 def validate! - documents.nil? ? raise(Error::OperationFailure.new(parser.message, self)) : self + documents.nil? ? raise_operation_failure : self end # Get the cursor id. # # @example Get the cursor id.