lib/vedeu/support/timer.rb in vedeu-0.4.33 vs lib/vedeu/support/timer.rb in vedeu-0.4.34

- old
+ new

@@ -5,9 +5,14 @@ # @api public class Timer class << self + # @example + # Vedeu.timer 'message' do + # # ... code to be measured + # end + # # @param message [String] # @param block [Proc] # @return [void] def timer(message = '', &block) new(message).measure(&block)