class method
self.new
Ruby on Rails 8.0.4
Since v3.0.20Signature
self.new(notifier)
No documentation comment.
Parameters
-
notifierreq
Source
# File activesupport/lib/active_support/notifications/instrumenter.rb, line 12
def initialize(notifier)
unless notifier.respond_to?(:build_handle)
notifier = LegacyHandle::Wrapper.new(notifier)
end
@id = unique_id
@notifier = notifier
end
Defined in activesupport/lib/active_support/notifications/instrumenter.rb line 12
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::Instrumenter