class Montrose::Frequency::Hourly
Public Instance Methods
include?(time)
click to toggle source
# File lib/montrose/frequency/hourly.rb, line 6 def include?(time) matches_interval?((time - @starts) / 1.hour) end
to_cron()
click to toggle source
# File lib/montrose/frequency/hourly.rb, line 10 def to_cron "#{@starts.min} #{interval_str} * * *" end