Class: Resque::Plugins::Loner::UniqueJob

Inherits:
Object
  • Object
show all
Includes:
UniqueJob
Defined in:
lib/resque-loner/unique_job.rb

Class Method Summary collapse

Methods included from UniqueJob

included

Class Method Details

.inherited(host) ⇒ Object



50
51
52
53
54
55
# File 'lib/resque-loner/unique_job.rb', line 50

def self.inherited(host)
  super(host)
  return  if @__unique_job_warned
  warn "Inherit Resque::Plugins::Loner::UniqueJob is deprecated. Include Resque::Plugins::UniqueJob module instead."
  @__unique_job_warned = true
end