lib/vedeu/support/timer.rb in vedeu-0.4.40 vs lib/vedeu/support/timer.rb in vedeu-0.4.41
- old
+ new
@@ -19,9 +19,11 @@
new(message).measure(&block)
end
end
+ # Returns a new instance of Vedeu::Timer.
+ #
# @param message [String]
# @return [Vedeu::Timer]
def initialize(message = '')
@message = message
@started = Time.now.to_f