Sha256: cb42692ce790ee3ba5805b95a743a55d39ab801a3dc5554e9f8fe051693c1bbd
Contents?: true
Size: 358 Bytes
Versions: 15
Compression:
Stored size: 358 Bytes
Contents
module VagrantPlugins module Skytap module Util class Timer # A basic utility method that times the execution of the given # block and returns it. def self.time start_time = Time.now.to_f yield end_time = Time.now.to_f end_time - start_time end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems