Classes: Timer
"0.0.4"
Yields:
73 74 75 76 77 78 79
# File 'lib/timeit.rb', line 73 def ti(autostart = true, &block) t = Timer.new t.start if autostart yield t t.stop t end