# File lib/cabin/metric.rb, line 17 def emit if !@channel.nil? @channel.publish({ :metric => instance }.merge(to_hash)) end end