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