instance method
broadcasting_for
Ruby on Rails 8.0.4
Since v6.0.6 PrivateSignature
broadcasting_for(stream_or_object)
No documentation comment.
Parameters
-
stream_or_objectreq
Source
# File actioncable/lib/action_cable/channel/test_case.rb, line 346
def broadcasting_for(stream_or_object)
return stream_or_object if stream_or_object.is_a?(String)
self.class.channel_class.broadcasting_for(stream_or_object)
end
Defined in actioncable/lib/action_cable/channel/test_case.rb line 346
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Channel::TestCase::Behavior