Class: Timers::Break

Inherits:
Timer
  • Object
show all
Defined in:
lib/tabata_timer/timers.rb

Instance Attribute Summary

Attributes inherited from Timer

#time

Instance Method Summary collapse

Methods inherited from Timer

#==, #start

Constructor Details

#initializeBreak

Returns a new instance of Break.



10
11
12
13
# File 'lib/tabata_timer/timers.rb', line 10

def initialize
  @time = 10
  @message = 'Break!'
end