Method: Workpattern::Clock#minutes

Defined in:
lib/workpattern/clock.rb

#minutesInteger

Returns the total number of minutes

Returns:

  • (Integer)

    total minutes represented by the Clock object

Since:

  • 0.2.0



39
40
41
# File 'lib/workpattern/clock.rb', line 39

def minutes
  total_minutes(@hour, @min)
end