class method self.null_instrumenter

Ruby on Rails edge

Since edge

Signature

self.null_instrumenter()

Returns a singleton no-op instrumenter that executes blocks without publishing any notifications. Useful for suppressing instrumentation on specific connections or components.

Source
# File activesupport/lib/active_support/notifications.rb, line 258
      def null_instrumenter
        @null_instrumenter ||= NullInstrumenter.new
      end

Defined in activesupport/lib/active_support/notifications.rb line 258 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Notifications

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