From 69ba4c5586fc4cab3166a6b8ee2d933e83bb2152 Mon Sep 17 00:00:00 2001 From: Javier Honduvilla Coto Date: Thu, 23 Mar 2017 06:11:45 +0100 Subject: [PATCH] Update the `Instrumenter` doc ... (#3530) ... with an instance of the given`Instrumenter` instead of the class itself. --- lib/linguist.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist.rb b/lib/linguist.rb index c2065bf8..07fefdbb 100644 --- a/lib/linguist.rb +++ b/lib/linguist.rb @@ -74,7 +74,7 @@ class << Linguist # end # end # - # Linguist.instrumenter = CustomInstrumenter + # Linguist.instrumenter = CustomInstrumenter.new # # The instrumenter must conform to the `ActiveSupport::Notifications` # interface, which defines `#instrument` and accepts: