Class: ActiveSupport::Notifications::Instrumenter::LegacyHandle::Wrapper

Inherits:
Object
  • Object
show all
Defined in:
activesupport/lib/active_support/notifications/instrumenter.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(notifier) ⇒ Wrapper

Returns a new instance of Wrapper.



23
24
25
# File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 23

def initialize(notifier)
  @notifier = notifier
end

Instance Method Details

#build_handle(name, id, payload) ⇒ Object



27
28
29
# File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 27

def build_handle(name, id, payload)
  LegacyHandle.new(@notifier, name, id, payload)
end