跳至内容 跳至搜索
命名空间
方法
B

实例公共方法

broadcast_to(model, message)

# 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)

# File actioncable/lib/action_cable/channel/broadcasting.rb, line 41
def broadcasting_for(model)
  self.class.broadcasting_for(model)
end