Class: Sneakers::Metrics::NullMetrics

Inherits:
Object
  • Object
show all
Defined in:
lib/sneakers/metrics/null_metrics.rb

Instance Method Summary collapse

Instance Method Details

#increment(metric) ⇒ Object



4
5
# File 'lib/sneakers/metrics/null_metrics.rb', line 4

def increment(metric)
end

#timing(metric, &block) ⇒ Object



7
8
9
# File 'lib/sneakers/metrics/null_metrics.rb', line 7

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