module ParallelCucumber::Helper::Utils
Public Instance Methods
time_it() { || ... }
click to toggle source
# 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