Update the Instrumenter doc ... (#3530)

... with an instance of the given`Instrumenter` instead of the class itself.
This commit is contained in:
Javier Honduvilla Coto
2017-03-23 06:11:45 +01:00
committed by Paul Chaignon
parent c39d7fd6e8
commit 69ba4c5586

View File

@@ -74,7 +74,7 @@ class << Linguist
# end # end
# end # end
# #
# Linguist.instrumenter = CustomInstrumenter # Linguist.instrumenter = CustomInstrumenter.new
# #
# The instrumenter must conform to the `ActiveSupport::Notifications` # The instrumenter must conform to the `ActiveSupport::Notifications`
# interface, which defines `#instrument` and accepts: # interface, which defines `#instrument` and accepts: