class SomTimer::Timer
Attributes
id[R]
rest_interval[R]
sound[R]
work_interval[R]
Public Class Methods
new(attributes)
click to toggle source
# File lib/som_timer/poros/timer.rb, line 7 def initialize(attributes) @id = attributes[:id] @work_interval = attributes[:work_interval] @rest_interval = attributes[:rest_interval] @sound = attributes[:sound] end