class Mongo::ReplSetConnection

@deprecated Use Mongo::MongoReplicaSetClient instead. Support will be

removed after v2.0. Please see old documentation for the
ReplSetConnection class.

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/mongo/legacy.rb, line 62
def initialize(*args)
  if args.last.is_a?(Hash)
    opts = args.pop
    write_concern_from_legacy(opts)
    args.push(opts)
  end
  super
end