module Hitimes

::Error

General error class for the Hitimes module

The top level module containing the contents of the hitimes library

use the library with:

require 'hitimes'

Constants

VERSION

Public Class Methods

measure(&block) click to toggle source

::measure { } -> Float

Times the execution of the block, returning the number of seconds it took

# File lib/hitimes.rb, line 22
def self.measure(&block)
  Hitimes::Interval.measure(&block)
end