Sha256: 8fcfe1e9fab225e6fa9a464405cf9c33c64b70165a2207de97648a05edd9b153

Contents?: true

Size: 173 Bytes

Versions: 16

Compression:

Stored size: 173 Bytes

Contents

module Beaker
  module Shared
    module Timed
      def run_and_report_duration
        start = Time.now
        yield
        Time.now - start
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
beaker-6.4.1 lib/beaker/shared/timed.rb
beaker-6.4.0 lib/beaker/shared/timed.rb
beaker-6.3.0 lib/beaker/shared/timed.rb
beaker-6.2.0 lib/beaker/shared/timed.rb
beaker-6.1.0 lib/beaker/shared/timed.rb
beaker-5.8.1 lib/beaker/shared/timed.rb
beaker-5.8.0 lib/beaker/shared/timed.rb
beaker-5.7.0 lib/beaker/shared/timed.rb
beaker-5.6.0 lib/beaker/shared/timed.rb
beaker-5.5.0 lib/beaker/shared/timed.rb
beaker-5.4.0 lib/beaker/shared/timed.rb
beaker-5.3.1 lib/beaker/shared/timed.rb
beaker-5.3.0 lib/beaker/shared/timed.rb
beaker-5.2.0 lib/beaker/shared/timed.rb
beaker-5.1.0 lib/beaker/shared/timed.rb
beaker-5.0.0 lib/beaker/shared/timed.rb