Remove `private` call

Below this `private` call we only have a class definition, which as we know it
is not affected (`private` only affects methods).

We discussed with @dhh the original intention.

`ActionCable::RemoteConnections::RemoteConnection` is public interface, it is
documented in the API and it is the class of objects returned by the `where`
method. Its documentation explains which is its purpose and restricted public
interface, so we keep it public and only remove the `private` call.
This commit is contained in:
Xavier Noria 2024-08-19 18:05:08 +02:00
parent 3ae6284f0e
commit ac104520ee
1 changed files with 36 additions and 37 deletions

View File

@ -39,7 +39,6 @@ module ActionCable
RemoteConnection.new(server, identifier) RemoteConnection.new(server, identifier)
end end
private
# # Action Cable Remote Connection # # Action Cable Remote Connection
# #
# Represents a single remote connection found via # Represents a single remote connection found via