Sha256: b2cb8994667a927b14e3ff30e9b86d5aade42041f2b85634f3884c8b2aaa4f30
Contents?: true
Size: 330 Bytes
Versions: 4
Compression:
Stored size: 330 Bytes
Contents
if RUBY_PLATFORM == "java" require 'liquid/metrics' require 'liquid/metrics/tracker_reporter' module Tracker class Metrics def self.event (@events ||= ::Metrics.meter("tracker.events")).mark end end end Dir[File.expand_path("../tracker/*.rb", __FILE__)].each do |f| require f end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
liquid-ext-3.5.3 | lib/liquid/tracker.rb |
liquid-ext-3.5.2 | lib/liquid/tracker.rb |
liquid-ext-3.5.0 | lib/liquid/tracker.rb |
liquid-ext-3.4.2 | lib/liquid/tracker.rb |