Sha256: 9a132f9bb8923e2365114a3ec6a7f08bb7af205f3698b674ba0158360d6d7b4a
Contents?: true
Size: 444 Bytes
Versions: 64
Compression:
Stored size: 444 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2021 module Instana module Activators class ActionControllerBase < Activator def can_instrument? defined?(::ActionController::Base) end def instrument require 'instana/instrumentation/action_controller' ::ActionController::Base .prepend(Instana::Instrumentation::ActionController) true end end end end
Version data entries
64 entries across 64 versions & 1 rubygems