Method: Period#minutes

Defined in:
lib/periodicity/period.rb

#minutesObject Also known as: minute

Sets the scope to one minute so that every(20).minutes means “every 20 minutes”



71
72
73
74
75
76
# File 'lib/periodicity/period.rb', line 71

def minutes
  @scope = 1.minute
  reset_on_base 60
  
  return self
end