module FistOfFury::Recurrent::ClassMethods
Attributes
schedule[W]
Public Instance Methods
recurs(options={}, &block)
click to toggle source
# File lib/fist_of_fury/recurrent.rb, line 14 def recurs(options={}, &block) schedule.instance_eval(&block) schedule.options = options end
schedule()
click to toggle source
# File lib/fist_of_fury/recurrent.rb, line 10 def schedule @schedule ||= FistOfFury::Schedule.new end
scheduled_time_met?(time)
click to toggle source
# File lib/fist_of_fury/recurrent.rb, line 19 def scheduled_time_met?(time) schedule.scheduled_time_met?(time) end