Method: Async::Clock#initialize
- Defined in:
- lib/async/clock.rb
#initialize(total = 0) ⇒ Clock
Create a new clock with the initial total time.
34 35 36 37 |
# File 'lib/async/clock.rb', line 34 def initialize(total = 0) @total = total @started = nil end |