Module: Zdi::DocumentWrapper::MongoCursorMethods

Defined in:
lib/zentradi/document_wrapper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#zentradi_collectionObject

Returns the value of attribute zentradi_collection.



40
41
42
# File 'lib/zentradi/document_wrapper.rb', line 40

def zentradi_collection
  @zentradi_collection
end

Instance Method Details

#next_documentObject



37
38
39
# File 'lib/zentradi/document_wrapper.rb', line 37

def next_document
  Zdi::DocumentWrapper.wrap(zentradi_collection, super)
end