Parent

Methods

Included Modules

Mongo::ShardedConnection

@deprecated Use Mongo::MongoShardedClient instead. Support will be removed

after v2.0. Please see old documentation for the ShardedConnection class.

Public Class Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.