lib/mongo/event/description_changed.rb in mongo-2.0.6 vs lib/mongo/event/description_changed.rb in mongo-2.1.0.beta
- old
+ new
@@ -40,10 +40,10 @@
# configuration change.
#
# @example Handle the event.
# server_added.handle('127.0.0.1:27018')
#
- # @param [ Address ] address The added host.
+ # @param [ Server::Description ] updated The changed description.
#
# @since 2.0.0
def handle(updated)
cluster.add_hosts(updated)
cluster.remove_hosts(updated)