Sha256: 2bf2f62f97a6bd0db3b3422165cb9fcf025ce68d891fe690fb8c8454335803e8
Contents?: true
Size: 355 Bytes
Versions: 37
Compression:
Stored size: 355 Bytes
Contents
module VagrantPlugins module AWS 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
37 entries across 37 versions & 10 rubygems