Class: Ilpomodoro::Timer
- Inherits:
-
Object
- Object
- Ilpomodoro::Timer
- Defined in:
- lib/ilpomodoro/timer.rb
Class Method Summary collapse
Class Method Details
.do_a(action) ⇒ Object
7 8 9 10 11 |
# File 'lib/ilpomodoro/timer.rb', line 7 def do_a(action) @notifier.call("#{action} has started") progress( time_for(action), 20) @notifier.call("#{action} has finished") end |