module Beaker::Shared::Timed

Public Instance Methods

run_and_report_duration() { || ... } click to toggle source
# File lib/beaker/shared/timed.rb, line 4
def run_and_report_duration
  start = Time.now
  yield
  Time.now - start
end