Class: ActiveSupport::Notifications::Fanout::BaseTimeGroup
Do not use. This class is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
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
#finish(name, id, payload)
[ GitHub ]# File 'activesupport/lib/active_support/notifications/fanout.rb', line 130
def finish(name, id, payload) stop_time = now each do |listener| listener.call(name, @start_time, stop_time, id, payload) end end
#start(name, id, payload)
[ GitHub ]# File 'activesupport/lib/active_support/notifications/fanout.rb', line 126
def start(name, id, payload) @start_time = now end