Sha256: 71486663d157f55ecf866342c9d5e6d22b777f3af0d5c08fc1bea14c1455c45e
Contents?: true
Size: 362 Bytes
Versions: 20
Compression:
Stored size: 362 Bytes
Contents
module VagrantPlugins module Cloudstack 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
20 entries across 20 versions & 1 rubygems