documentation updates to replace depricated options with current ones

This commit is contained in:
Tyler Brock 2012-01-23 13:27:44 -05:00
parent a2817247ac
commit d8655929f5

View File

@ -70,10 +70,10 @@ module Mongo
# ReplSetConnection.new(['localhost', 30000], ['localhost', 30001]) # ReplSetConnection.new(['localhost', 30000], ['localhost', 30001])
# #
# @example Connect to a replica set providing two seed nodes and ensuring a connection to the replica set named 'prod': # @example Connect to a replica set providing two seed nodes and ensuring a connection to the replica set named 'prod':
# ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :rs_name => 'prod') # ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :name => 'prod')
# #
# @example Connect to a replica set providing two seed nodes and allowing reads from a secondary node: # @example Connect to a replica set providing two seed nodes and allowing reads from a secondary node:
# ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :read_secondary => true) # ReplSetConnection.new(['localhost', 30000], ['localhost', 30001], :read => :secondary)
# #
# @see http://api.mongodb.org/ruby/current/file.REPLICA_SETS.html Replica sets in Ruby # @see http://api.mongodb.org/ruby/current/file.REPLICA_SETS.html Replica sets in Ruby
# #