lib/mongo/operation/write/insert.rb in mongo-2.0.5 vs lib/mongo/operation/write/insert.rb in mongo-2.0.6
- old
+ new
@@ -29,17 +29,18 @@
# :db_name => 'test',
# :coll_name => 'test_coll',
# :write_concern => write_concern
# })
#
- # @param [ Hash ] spec The specifications for the insert.
+ # Initialization:
+ # param [ Hash ] spec The specifications for the insert.
#
- # @option spec :documents [ Array ] The documents to insert.
- # @option spec :db_name [ String ] The name of the database.
- # @option spec :coll_name [ String ] The name of the collection.
- # @option spec :write_concern [ Mongo::WriteConcern ] The write concern.
- # @option spec :options [ Hash ] Options for the command, if it ends up being a
- # write command.
+ # option spec :documents [ Array ] The documents to insert.
+ # option spec :db_name [ String ] The name of the database.
+ # option spec :coll_name [ String ] The name of the collection.
+ # option spec :write_concern [ Mongo::WriteConcern ] The write concern.
+ # option spec :options [ Hash ] Options for the command, if it ends up being a
+ # write command.
#
# @since 2.0.0
class Insert
include Executable
include Specifiable