instance method instrument

Ruby on Rails edge

Since edge

Signature

instrument(name, payload = {})

No documentation comment.

Parameters

name req
payload opt = {}
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

Defined in ActiveSupport::Notifications::NullInstrumenter

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close