mirror of
https://github.com/plashchynski/crono.git
synced 2026-11-13 12:13:34 +01:00
ActiveJob is a module
This commit is contained in:
1 parent
6f863ac4c6
commit
6bf168e627
2 files changed
+2
-3
No files matched your search
@@ -2,7 +2,6 @@ require 'bundler'
|
||||
Bundler::GemHelper.install_tasks
|
||||
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
RSpec::Core::RakeTask.new('spec')
|
||||
|
||||
task default: :spec
|
||||
@@ -1,7 +1,7 @@
|
||||
module Periodicity
|
||||
module Extensions
|
||||
class ActiveJob
|
||||
def self.perform_every(period, *args)
|
||||
module ActiveJob
|
||||
def perform_every(period, *args)
|
||||
@period = Period.new(period, *args)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user