123456789_123456789_123456789_123456789_123456789_

Module: ActionCable::Channel::Broadcasting

Relationships & Source Files
Namespace Children
Modules:
Extension / Inclusion / Inheritance Descendants
Included In:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: actioncable/lib/action_cable/channel/broadcasting.rb

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

Instance Method Summary

Instance Method Details

#broadcast_to(model, message)

[ GitHub ]

  
# File 'actioncable/lib/action_cable/channel/broadcasting.rb', line 45

def broadcast_to(model, message)
  self.class.broadcast_to(model, message)
end

#broadcasting_for(model)

[ GitHub ]

  
# File 'actioncable/lib/action_cable/channel/broadcasting.rb', line 41

def broadcasting_for(model)
  self.class.broadcasting_for(model)
end