module Timeit
Constants
- VERSION
Public Instance Methods
ti(autostart = true) { |t| ... }
click to toggle source
# File lib/timeit.rb, line 73 def ti(autostart = true, &block) t = Timer.new t.start if autostart yield t t.stop t end