Sha256: 46cf9e74db3239737e095e747c2a037243e0a17d28eefa6c8c05df1caf81dbbe
Contents?: true
Size: 726 Bytes
Versions: 4
Compression:
Stored size: 726 Bytes
Contents
# typed: false require 'datadog/tracing/contrib/action_view/events/render_partial' require 'datadog/tracing/contrib/action_view/events/render_template' module Datadog module Tracing module Contrib module ActionView # Defines collection of instrumented ActionView events module Events ALL = [ Events::RenderPartial, Events::RenderTemplate ].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
Version data entries
4 entries across 4 versions & 1 rubygems