Sha256: 0b83c84aec616db7716d7f4dcbe914039076169ded948711e97929e38f3ef11d
Contents?: true
Size: 464 Bytes
Versions: 2
Compression:
Stored size: 464 Bytes
Contents
module QueueClassicPlus class Empty def self.method_missing(*) yield if block_given? end end class Metrics def self.timing(*args, &block) provider.timing *args, &block end def self.increment(*args) provider.increment(*args) end def self.measure(*args) provider.measure(*args) end def self.provider if defined?(Librato) Librato else Empty end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
queue_classic_plus-1.0.0.alpha2 | lib/queue_classic_plus/metrics.rb |
queue_classic_plus-0.0.2 | lib/queue_classic_plus/metrics.rb |