mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
Update the Instrumenter doc ... (#3530)
... with an instance of the given`Instrumenter` instead of the class itself.
This commit is contained in:
committed by
Paul Chaignon
parent
c39d7fd6e8
commit
69ba4c5586
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user