Class AlienBlockTimer
In: alienblocktimer.rb
Parent: Object

A class to measure the execution time for blocks of code.

Methods

elapsed   inspect   measure   new   start   to_s  

Public Class methods

Setup the timer and pass in an optional description. If there is an associated block with the call, execute a timing measurment.

Public Instance methods

The time since we called start or since the class was initialized.

Measure the execution time for an asscociated code block.

Grab a start time

[Validate]