class AdhearsionStats::Stactor
Attributes
statsd[RW]
Public Class Methods
new(statsd)
click to toggle source
# File lib/adhearsion-stats/stactor.rb, line 7 def initialize(statsd) @statsd = statsd end
Public Instance Methods
method_missing(meth, *args, &blk)
click to toggle source
# File lib/adhearsion-stats/stactor.rb, line 15 def method_missing(meth, *args, &blk) self.async.send_stat meth, *args, &blk end
send_stat(meth, *args, &blk)
click to toggle source
# File lib/adhearsion-stats/stactor.rb, line 11 def send_stat(meth, *args, &blk) statsd.send meth, *args, &blk end