Class: ActiveSupport::Notifications::Fanout::EventObjectGroup
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
BaseGroup
|
|
Instance Chain:
|
|
Inherits: |
ActiveSupport::Notifications::Fanout::BaseGroup
|
Defined in: | activesupport/lib/active_support/notifications/fanout.rb |
Class Method Summary
Instance Method Summary
BaseGroup
- Inherited
::ActiveSupport::Notifications::FanoutIteration
- Included
Constructor Details
This class inherits a constructor from ActiveSupport::Notifications::Fanout::BaseGroup
Instance Method Details
#build_event(name, id, payload) (private)
[ GitHub ]# File 'activesupport/lib/active_support/notifications/fanout.rb', line 182
def build_event(name, id, payload) ActiveSupport::Notifications::Event.new name, nil, nil, id, payload end
#finish(name, id, payload)
[ GitHub ]# File 'activesupport/lib/active_support/notifications/fanout.rb', line 172
def finish(name, id, payload) @event.payload = payload @event.finish! each do |s| s.call(@event) end end
#start(name, id, payload)
[ GitHub ]# File 'activesupport/lib/active_support/notifications/fanout.rb', line 167
def start(name, id, payload) @event = build_event(name, id, payload) @event.start! end