lib/spectator/clock.rb in netflix-spectator-rb-0.1.3 vs lib/spectator/clock.rb in netflix-spectator-rb-0.2.1
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Spectator
# A timing source that can be used to access the current time as an object,
# and a high resolution monotonic time
class SystemClock
# A monotonically increasing number of nanoseconds. This is useful for