Module: Sneakers::Concerns::Metrics

Included in:
Worker
Defined in:
lib/sneakers/concerns/metrics.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
# File 'lib/sneakers/concerns/metrics.rb', line 6

def self.included(base)
  base.extend ClassMethods
  base.send :define_method, :metrics do
    base.metrics
  end
end