Flowdock
method

serialize_broadcasting

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ClassMethods
serialize_broadcasting(object) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/channel/broadcasting.rb, line 28
        def serialize_broadcasting(object) # :nodoc:
          case
          when object.is_a?(Array)
            object.map { |m| serialize_broadcasting(m) }.join(":")
          when object.respond_to?(:to_gid_param)
            object.to_gid_param
          else
            object.to_param
          end
        end
Register or log in to add new notes.