Module: Datadog::Tracing::Contrib::Racecar::Event

Overview

Defines basic behaviors for an ActiveRecord event.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



14
15
16
17
# File 'lib/datadog/tracing/contrib/racecar/event.rb', line 14

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