Method: Totpc::Window#show_remaining
- Defined in:
- lib/totpc/window.rb
#show_remaining ⇒ Object
34 35 36 37 |
# File 'lib/totpc/window.rb', line 34 def show_remaining count = 30 - Time.now.to_i % 30 (0, 0, 'remaining ' + format('%02d', count)) end |