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



66
67
68
69
70
71
# File 'lib/resque-loner/unique_job.rb', line 66

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