lib/mongo/server/monitor.rb in mongo-2.18.0.beta1 vs lib/mongo/server/monitor.rb in mongo-2.18.0
- old
+ new
@@ -266,9 +266,13 @@
else
run!
end
end
+ def to_s
+ "#<#{self.class.name}:#{object_id} #{server.address}>"
+ end
+
private
def pre_stop
server.scan_semaphore.signal
end