lib/mongo/monitoring/event/server_opening.rb in mongo-2.13.0.beta1 vs lib/mongo/monitoring/event/server_opening.rb in mongo-2.13.0.rc1
- old
+ new
@@ -48,10 +48,10 @@
# @note This method is experimental and subject to change.
#
# @since 2.7.0
# @api experimental
def summary
- "#<#{self.class.name.sub(/^Mongo::Monitoring::Event::/, '')}" +
+ "#<#{short_class_name}" +
" address=#{address} topology=#{topology.summary}>"
end
end
end
end