class Mongo::Connection

@deprecated Use Mongo::MongoClient instead. Support will be removed after

v2.0. Please see old documentation for the Connection class.

Public Class Methods

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