Method: Mongoo::Cursor#next_document
- Defined in:
- lib/mongoo/cursor.rb
#next_document ⇒ Object Also known as: next
12 13 14 15 16 |
# File 'lib/mongoo/cursor.rb', line 12 def next_document if doc = @mongo_cursor.next_document obj_from_doc(doc) end end |