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

new(description="") {|| ...}

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

elapsed()

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

inspect()
measure(description="") {|| ...}

Measure the execution time for an asscociated code block.

start()

Grab a start time

to_s()

[Validate]