Module: Resque::Plugins::JobStats::MeasuredHook

Included in:
Resque::Plugins::JobStats, Duration, Enqueued, Failed, Performed, Timeseries::Enqueued, Timeseries::Performed
Defined in:
lib/resque/plugins/job_stats/measured_hook.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
# File 'lib/resque/plugins/job_stats/measured_hook.rb', line 6

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#inherited(subclass) ⇒ Object



16
17
18
# File 'lib/resque/plugins/job_stats/measured_hook.rb', line 16

def inherited(subclass)
  subclass.extend Resque::Plugins::JobStats
end