mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
rename method
This commit is contained in:
parent
aec53975e3
commit
7395f71373
1 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,9 @@ module Sidekiq
|
|||
# Removes the generic aliases which MAY clash with names of already
|
||||
# created methods by other applications. The methods `sidekiq_delay`,
|
||||
# `sidekiq_delay_for` and `sidekiq_delay_until` can be used instead.
|
||||
def self.namespace_delay_methods
|
||||
[Extensions::ActiveRecord,
|
||||
Extensions::ActionMailer,
|
||||
def self.remove_delay!
|
||||
[Extensions::ActiveRecord,
|
||||
Extensions::ActionMailer,
|
||||
Extensions::Klass].each do |mod|
|
||||
mod.module_eval do
|
||||
remove_method :delay if respond_to?(:delay)
|
||||
|
|
Loading…
Add table
Reference in a new issue