Module: Datadog::Tracing::Contrib::ActiveSupport::Cache::Event

Included in:
Datadog::Tracing::Contrib::ActiveSupport::Cache::Events::Cache
Defined in:
lib/datadog/tracing/contrib/active_support/cache/event.rb

Overview

Defines basic behaviors for an ActiveSupport event.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



12
13
14
15
# File 'lib/datadog/tracing/contrib/active_support/cache/event.rb', line 12

def self.included(base)
  base.include(ActiveSupport::Notifications::Event)
  base.extend(ClassMethods)
end