lib/mongo/server/monitor.rb in mongo-2.3.1 vs lib/mongo/server/monitor.rb in mongo-2.4.0.rc0
- old
+ new
@@ -51,9 +51,14 @@
attr_reader :inspector
# @return [ Hash ] options The server options.
attr_reader :options
+ # @return [ Time ] last_scan The time of the last server scan.
+ #
+ # @since 2.4.0
+ attr_reader :last_scan
+
# Force the monitor to immediately do a check of its server.
#
# @example Force a scan.
# monitor.scan!
#