Module: Shoulda::Whenever

Defined in:
lib/shoulda/whenever.rb,
lib/shoulda/whenever/version.rb,
lib/shoulda/whenever/schedule_matcher.rb

Defined Under Namespace

Classes: ScheduleMatcher

Constant Summary collapse

VERSION =
"0.0.2".freeze

Instance Method Summary collapse

Instance Method Details

#schedule(task) ⇒ Object Also known as: schedule_rake, schedule_runner, schedule_command



3
4
5
# File 'lib/shoulda/whenever/schedule_matcher.rb', line 3

def schedule(task)
  ScheduleMatcher.new(task)
end