Class: Timers::Exercise

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

#initializeExercise

Returns a new instance of Exercise.



3
4
5
6
# File 'lib/tabata_timer/timers.rb', line 3

def initialize
  @time = 20
  @message = 'Workout!'
end