# File lib/mongo/util/core_ext.rb, line 34
  def each_with_object(memo)
    each { |element| yield(element, memo) }
    memo
  end