instance method
instrument
Ruby on Rails edge
Since edgeSignature
instrument(name, payload = {})
No documentation comment.
Parameters
-
namereq -
payloadopt = {}
Source
# File activesupport/lib/active_support/notifications/instrumenter.rb, line 27
def instrument(name, payload = {})
yield payload if block_given?
end
Defined in activesupport/lib/active_support/notifications/instrumenter.rb line 27
· View on GitHub
· Improve this page
· Find usages on GitHub