lib/mongo/operation/write/create_user.rb in mongo-2.0.5 vs lib/mongo/operation/write/create_user.rb in mongo-2.0.6
- old
+ new
@@ -20,13 +20,14 @@
# A MongoDB create user operation.
#
# @example Initialize the operation.
# Write::CreateUser.new(:db_name => 'test', :user => user)
#
- # @param [ Hash ] spec The specifications for the create.
+ # Initialization:
+ # param [ Hash ] spec The specifications for the create.
#
- # @option spec :user [ Auth::User ] The user to create.
- # @option spec :db_name [ String ] The name of the database.
+ # option spec :user [ Auth::User ] The user to create.
+ # option spec :db_name [ String ] The name of the database.
#
# @since 2.0.0
class CreateUser
include Executable
include Specifiable