Fix copy-paste mistake in doc comment

This commit is contained in:
Brian Alexander 2012-05-29 15:05:50 -06:00
parent 5591e3dfe3
commit beea7d1320
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ module Mongo
#
# @return [True] returns +true+ on success.
#
# @raise MongoDBError if there's an error renaming the collection.
# @raise MongoDBError if there's an error dropping the index.
def drop_index(collection_name, index_name)
oh = BSON::OrderedHash.new
oh[:deleteIndexes] = collection_name