lib/mongo/operation/write/drop_index.rb in mongo-2.0.5 vs lib/mongo/operation/write/drop_index.rb in mongo-2.0.6
- old
+ new
@@ -23,15 +23,16 @@
# :db_name => 'test',
# :coll_name => 'test_coll',
# :index_name => 'name_1_age_-1'
# })
#
- # @param [ Hash ] spec The specifications for the drop.
+ # Initialization:
+ # param [ Hash ] spec The specifications for the drop.
#
- # @option spec :index [ Hash ] The index spec to create.
- # @option spec :db_name [ String ] The name of the database.
- # @option spec :coll_name [ String ] The name of the collection.
- # @option spec :index_name [ String ] The name of the index.
+ # option spec :index [ Hash ] The index spec to create.
+ # option spec :db_name [ String ] The name of the database.
+ # option spec :coll_name [ String ] The name of the collection.
+ # option spec :index_name [ String ] The name of the index.
#
# @since 2.0.0
class DropIndex
include Executable
include Specifiable