Sha256: 3f1ce9f68dc1bb7c464d972dcd2f170a588e11e92d48786e75a12edaec6af665
Contents?: true
Size: 664 Bytes
Versions: 9
Compression:
Stored size: 664 Bytes
Contents
# frozen_string_literal: true require_relative 'events/cache' module Datadog module Tracing module Contrib module ActiveSupport module Cache # Defines collection of instrumented ActiveSupport events module Events ALL = [ Events::Cache, ].freeze module_function def all self::ALL end def subscriptions all.collect(&:subscriptions).collect(&:to_a).flatten end def subscribe! all.each(&:subscribe!) end end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems