Sha256: d328be1420e838b88eaf6bff47b63e20ae2c75e177a68b20a13c62d53df517a9
Contents?: true
Size: 367 Bytes
Versions: 46
Compression:
Stored size: 367 Bytes
Contents
module VagrantPlugins module ProviderLibvirt 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
46 entries across 46 versions & 1 rubygems