Sha256: 3807c715375d8b3742197dd99d84aa8d8e109fcbc10fa7e1d7c9f48ee7c987c4
Contents?: true
Size: 620 Bytes
Versions: 13
Compression:
Stored size: 620 Bytes
Contents
# This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. # frozen_string_literal: true module NewRelic::Agent::Instrumentation module ViewComponent::Chain def self.instrument! ::ViewComponent::Base.class_eval do include NewRelic::Agent::Instrumentation::ViewComponent alias_method(:render_in_without_tracing, :render_in) def render_in(*args) render_in_with_tracing(*args) do render_in_without_tracing(*args) end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems