minor: claification

This commit is contained in:
Kyle Banker 2011-01-03 14:11:29 -05:00
parent 4d2d0a26af
commit 70bbb6f1fc

View File

@ -52,9 +52,7 @@ module Mongo
:fsync => lambda {|arg| arg == 'true' ? true : false} :fsync => lambda {|arg| arg == 'true' ? true : false}
} }
ATTRS = SPEC_ATTRS + OPT_ATTRS attr_reader :nodes, :auths, :connect, :replicaset, :slaveok, :safe, :w, :wtimeout, :fsync
attr_reader *ATTRS
# Parse a MongoDB URI. This method is used by Connection.from_uri. # Parse a MongoDB URI. This method is used by Connection.from_uri.
# Returns an array of nodes and an array of db authorizations, if applicable. # Returns an array of nodes and an array of db authorizations, if applicable.