Sha256: e4d2bdc883659beeeddeb0496fbc7370ea8b6cce7933bd8b579384aa06b4d4c3

Contents?: true

Size: 329 Bytes

Versions: 12

Compression:

Stored size: 329 Bytes

Contents

alias_method(:<%= @method.downcase %>_without_new_relic, :<%= @method.downcase %>)

def <%= @method.downcase %><%= "(#{@args})" unless @args.empty? %>
  <%= @method.downcase %>_with_new_relic<%= "(#{@args})" unless @args.empty? %> do
    <%= @method.downcase %>_without_new_relic<%= "(#{@args})" unless @args.empty? %>
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
newrelic_rpm-9.16.0 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.15.0 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.14.0 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.13.0 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.12.0 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.11.0 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.10.2 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.10.1 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.10.0 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.9.0 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.8.0 lib/tasks/instrumentation_generator/templates/chain_method.tt
newrelic_rpm-9.7.1 lib/tasks/instrumentation_generator/templates/chain_method.tt