class Montrose::Frequency::Daily
Public Instance Methods
Source
# File lib/montrose/frequency/daily.rb, line 6 def include?(time) matches_interval? time.to_date - @starts.to_date end
Source
# File lib/montrose/frequency/daily.rb, line 10 def to_cron "#{@starts.min} #{@starts.hour} #{interval_str} * *" end