lib/sneakers/metrics/statsd_metrics.rb in sneakers-0.1.0.pre vs lib/sneakers/metrics/statsd_metrics.rb in sneakers-0.1.1.pre
- old
+ new
@@ -4,10 +4,10 @@
def initialize(conn)
@connection = conn
end
def increment(metric)
- @connection.incrememnt(metric)
+ @connection.increment(metric)
end
def timing(metric, &block)
start = Time.now
block.call