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
499 500 |
# File 'docs/0_Dependencies.rb', line 499 def disable_timer(name) end |
.enable_timer(name)
Enable a timer
503 504 |
# File 'docs/0_Dependencies.rb', line 503 def enable_timer(name) end |
.show(name, message)
Show the elapsed time between the current and the last call of show
508 509 |
# File 'docs/0_Dependencies.rb', line 508 def show(name, ) end |
.start(name)
Start the time counter
495 496 |
# File 'docs/0_Dependencies.rb', line 495 def start(name) end |
.sub_show(delta, message, unit)
Show the real message in the console
514 515 |
# File 'docs/0_Dependencies.rb', line 514 def sub_show(delta, , unit) end |