method
new
rails latest stable - Class:
ActiveSupport::Notifications::Instrumenter
new(notifier)public
No documentation available.
# 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