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