123456789_123456789_123456789_123456789_123456789_

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

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: activesupport/lib/active_support/notifications/instrumenter.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(notifier) ⇒ Wrapper

[ GitHub ]

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

def initialize(notifier)
  @notifier = notifier
end

Instance Attribute Details

#finish (readonly)

[ GitHub ]

  
# File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 31

delegate :start, :finish, to: :@notifier

#start (readonly)

[ GitHub ]

  
# File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 31

delegate :start, :finish, to: :@notifier

Instance Method Details

#build_handle(name, id, payload)

[ GitHub ]

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

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