Fix copy-paste mistake in doc comment
This commit is contained in:
parent
5591e3dfe3
commit
beea7d1320
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue