# This file is distributed under New Relic’s license terms. # See github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. # frozen_string_literal: true
module NewRelic::Agent::Instrumentation
module <%= @class_name %>::Prepend include NewRelic::Agent::Instrumentation::<%= @class_name %> def <%= @method.downcase %><%= "(#{@args})" unless @args.empty? %> <%= @method.downcase %>_with_new_relic<%= "(#{@args})" unless @args.empty? %> { super } end end
end