Module: Enumerable
- Included in:
- Mongo::Cursor
- Defined in:
- lib/mongo/util/core_ext.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#each_with_object(memo) ⇒ Object
:nodoc:.
Instance Method Details
#each_with_object(memo) ⇒ Object
:nodoc:
34 35 36 37 |
# File 'lib/mongo/util/core_ext.rb', line 34 def each_with_object(memo) each { |element| yield(element, memo) } memo end |