Merge pull request #102 from balexand/patch-1

Fix copy-paste mistake in doc comment
This commit is contained in:
Tyler Brock 2012-05-29 14:20:21 -07:00
commit b7d34071b5
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ module Mongo
# #
# @return [True] returns +true+ on success. # @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) def drop_index(collection_name, index_name)
oh = BSON::OrderedHash.new oh = BSON::OrderedHash.new
oh[:deleteIndexes] = collection_name oh[:deleteIndexes] = collection_name