Sha256: 878844160ccf02c5f5cd7a18da6d15f552210c4a8558da57866f2faa6b4e6cf4
Contents?: true
Size: 365 Bytes
Versions: 32
Compression:
Stored size: 365 Bytes
Contents
module VagrantPlugins module OVirtProvider 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
32 entries across 32 versions & 3 rubygems