Module: Yuki::ElapsedTime
- Defined in:
- docs/0_Dependencies.rb
Overview
Class Method Summary collapse
-
.disable_timer(name)
Disable a timer.
-
.enable_timer(name)
Enable a timer.
-
.show(name, message)
Show the elapsed time between the current and the last call of show.
-
.start(name)
Start the time counter.
-
.sub_show(delta, message, unit)
Show the real message in the console.
Class Method Details
.disable_timer(name)
Disable a timer
482 483 |
# File 'docs/0_Dependencies.rb', line 482 def disable_timer(name) end |
.enable_timer(name)
Enable a timer
486 487 |
# File 'docs/0_Dependencies.rb', line 486 def enable_timer(name) end |
.show(name, message)
Show the elapsed time between the current and the last call of show
491 492 |
# File 'docs/0_Dependencies.rb', line 491 def show(name, ) end |
.start(name)
Start the time counter
478 479 |
# File 'docs/0_Dependencies.rb', line 478 def start(name) end |
.sub_show(delta, message, unit)
Show the real message in the console
497 498 |
# File 'docs/0_Dependencies.rb', line 497 def sub_show(delta, , unit) end |