From 40a152042e2fc3aa139ee15dd37600c293d7c368 Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Tue, 24 Oct 2023 16:02:04 +0200 Subject: [PATCH] Fix references in helpers documentation These references broke when we moved the helpers to their own module. --- lib/appsignal/helpers/instrumentation.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/appsignal/helpers/instrumentation.rb b/lib/appsignal/helpers/instrumentation.rb index 56ac033dc..00fcfa8d3 100644 --- a/lib/appsignal/helpers/instrumentation.rb +++ b/lib/appsignal/helpers/instrumentation.rb @@ -7,8 +7,8 @@ module Instrumentation # rubocop:disable Metrics/ModuleLength # Creates an AppSignal transaction for the given block. # - # If AppSignal is not {.active?} it will still execute the block, but not - # create a transaction for it. + # If AppSignal is not {Appsignal.active?} it will still execute the + # block, but not create a transaction for it. # # A event is created for this transaction with the name given in the # `name` argument. The event name must start with either `perform_job` or @@ -112,7 +112,7 @@ def monitor_single_transaction(name, env = {}, &block) # transaction. Does not add the error to the current transaction. # # Make sure that AppSignal is integrated in your application beforehand. - # AppSignal won't record errors unless {Config#active?} is `true`. + # AppSignal won't record errors unless {Appsignal.active?} is `true`. # # @example # # my_app.rb