lib/wolverine.rb in wolverine-0.3.4 vs lib/wolverine.rb in wolverine-0.3.5
- old
+ new
@@ -22,10 +22,10 @@
def self.redis
config.redis
end
def self.statsd_enabled?
- @statsd_enabled
+ defined?(@statsd_enabled) && @statsd_enabled
end
def self.enable_statsd!
@statsd_enabled = true
end