Class: ActiveSupport::Notifications::Fanout::Subscribers::EventObject

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

Instance Attribute Summary

Attributes inherited from Evented

#delegate, #pattern, #silenceable

Instance Method Summary collapse

Methods inherited from Evented

#initialize, #publish, #silenced?, #subscribed_to?, #unsubscribe!

Constructor Details

This class inherits a constructor from ActiveSupport::Notifications::Fanout::Subscribers::Evented

Instance Method Details

#group_classObject



432
433
434
# File 'activesupport/lib/active_support/notifications/fanout.rb', line 432

def group_class
  EventObjectGroup
end

#publish_event(event) ⇒ Object



436
437
438
# File 'activesupport/lib/active_support/notifications/fanout.rb', line 436

def publish_event(event)
  @delegate.call event
end