Module: Datadog::Tracing::Contrib::ActionView::Patcher

Includes:
Patcher
Defined in:
lib/datadog/tracing/contrib/action_view/patcher.rb

Overview

Patcher enables patching of ActionView module.

Class Method Summary collapse

Methods included from Patcher

included

Class Method Details

.patchObject



23
24
25
# File 'lib/datadog/tracing/contrib/action_view/patcher.rb', line 23

def patch
  patch_renderer
end

.patch_rendererObject



27
28
29
# File 'lib/datadog/tracing/contrib/action_view/patcher.rb', line 27

def patch_renderer
  Events.subscribe!
end

.target_versionObject



19
20
21
# File 'lib/datadog/tracing/contrib/action_view/patcher.rb', line 19

def target_version
  Integration.version
end