# File lib/mongo/util/node.rb, line 20 def =~(other) if other.is_a?(String) h, p = split_node(other) h == @host && p == @port else false end end