instance method broadcasting_for

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

broadcasting_for(stream_or_object)

No documentation comment.

Parameters

stream_or_object req
Source
# File actioncable/lib/action_cable/channel/test_case.rb, line 334
          def broadcasting_for(stream_or_object)
            return stream_or_object if stream_or_object.is_a?(String) || stream_or_object.is_a?(Symbol)

            self.class.channel_class.broadcasting_for(stream_or_object)
          end

Defined in actioncable/lib/action_cable/channel/test_case.rb line 334 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Channel::ChannelExt::TestCase::Behavior

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close