Method: Mongo::Client#==
- Defined in:
- lib/mongo/client.rb
#==(other) ⇒ true, false Also known as: eql?
Determine if this client is equivalent to another object.
179 180 181 182 |
# File 'lib/mongo/client.rb', line 179 def ==(other) return false unless other.is_a?(Client) cluster == other.cluster && == other. end |