Object
This class provides a very simple countdown object which can be used to drive time-boxed operations.
Upon initialization, the current time is noted, and calls to remaining will be relative to the start time and supplied duration (expressed in seconds).
Returns the number of seconds elapsed since the start time.
# File lib/openshift-origin-node/utils/hourglass.rb, line 26 def elapsed (Time.now - @start_time).round end
Generated with the Darkfish Rdoc Generator 2.