Class: MongoODM::Cursor

Inherits:
Mongo::Cursor
  • Object
show all
Defined in:
lib/mongo_odm/cursor.rb

Instance Method Summary collapse

Instance Method Details

#next_documentObject



7
8
9
10
# File 'lib/mongo_odm/cursor.rb', line 7

def next_document
  doc = super
  MongoODM.instanciate(doc)
end