class 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
Calls superclass method
# 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