Module: ParallelCucumber::Helper::Utils
Instance Method Summary collapse
Instance Method Details
#time_it ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/parallel_cucumber/helper/utils.rb', line 4 def time_it t1 = Time.now yield t2 = Time.now mm, ss = (t2 - t1).divmod(60) [mm, ss.round(1)] end |