Method: Mongo::Cursor#collection

Defined in:
lib/mongo/cursor.rb

#collectionObject (readonly)

Returns the value of attribute collection.



24
25
26
# File 'lib/mongo/cursor.rb', line 24

def collection
  @collection
end