Class: ActiveSupport::Notifications::Fanout::Subscribers::AllMessages

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(delegate) ⇒ AllMessages

Returns a new instance of AllMessages.



130
131
132
# File 'activesupport/lib/active_support/notifications/fanout.rb', line 130

def initialize(delegate)
  @delegate = delegate
end

Instance Method Details

#finish(name, id, payload) ⇒ Object



138
139
140
# File 'activesupport/lib/active_support/notifications/fanout.rb', line 138

def finish(name, id, payload)
  @delegate.finish name, id, payload
end

#publish(name, *args) ⇒ Object



142
143
144
# File 'activesupport/lib/active_support/notifications/fanout.rb', line 142

def publish(name, *args)
  @delegate.publish name, *args
end

#start(name, id, payload) ⇒ Object



134
135
136
# File 'activesupport/lib/active_support/notifications/fanout.rb', line 134

def start(name, id, payload)
  @delegate.start name, id, payload
end

#subscribed_to?(name) ⇒ Boolean

Returns:

  • (Boolean)


146
147
148
# File 'activesupport/lib/active_support/notifications/fanout.rb', line 146

def subscribed_to?(name)
  true
end