Class: PikaQue::Metrics::NullMetric

Inherits:
Object
  • Object
show all
Defined in:
lib/pika_que/metrics/null_metric.rb

Instance Method Summary collapse

Instance Method Details

#increment(metric, delta = 1) ⇒ Object



5
6
# File 'lib/pika_que/metrics/null_metric.rb', line 5

def increment(metric, delta = 1)
end

#measure(metric, &block) ⇒ Object



8
9
10
# File 'lib/pika_que/metrics/null_metric.rb', line 8

def measure(metric, &block)
  block.call
end