Sha256: 70f86872a3428eedc6c4cc5eba4fe5b8e2642a75116c433b1022f175c3457ba7

Contents?: true

Size: 176 Bytes

Versions: 8

Compression:

Stored size: 176 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

8 entries across 8 versions & 1 rubygems

Version Path
beaker-4.42.0 lib/beaker/shared/timed.rb
beaker-4.41.2 lib/beaker/shared/timed.rb
beaker-4.41.1 lib/beaker/shared/timed.rb
beaker-4.41.0 lib/beaker/shared/timed.rb
beaker-4.40.2 lib/beaker/shared/timed.rb
beaker-4.40.1 lib/beaker/shared/timed.rb
beaker-4.40.0 lib/beaker/shared/timed.rb
beaker-4.39.0 lib/beaker/shared/timed.rb