class Montrose::Frequency::Daily

Public Instance Methods

include?(time) click to toggle source
# File lib/montrose/frequency/daily.rb, line 6
def include?(time)
  matches_interval? time.to_date - @starts.to_date
end
to_cron() click to toggle source
# File lib/montrose/frequency/daily.rb, line 10
def to_cron
  "#{@starts.min} #{@starts.hour} #{interval_str} * *"
end