Class: ActiveSupport::Notifications::Instrumenter::LegacyHandle
Do not use. This class is for internal use only.
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Inherits: | Object |
Defined in: | activesupport/lib/active_support/notifications/instrumenter.rb |
Class Method Summary
- .new(notifier, name, id, payload) ⇒ LegacyHandle constructor
Instance Method Summary
Constructor Details
.new(notifier, name, id, payload) ⇒ LegacyHandle
Instance Method Details
#finish
[ GitHub ]# File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 45
def finish @notifier.finish(@name, @id, @payload, @listener_state) end
#start
[ GitHub ]# File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 41
def start @listener_state = @notifier.start @name, @id, @payload end