From 1da7fa87288efdc89aa01d7ef71998e770b81671 Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Sun, 20 Aug 2017 01:07:05 +0930 Subject: Attributes are protected, not private, to avoid the warning --- actioncable/lib/action_cable/remote_connections.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actioncable/lib/action_cable') diff --git a/actioncable/lib/action_cable/remote_connections.rb b/actioncable/lib/action_cable/remote_connections.rb index a92b5e90b4..a07a517092 100644 --- a/actioncable/lib/action_cable/remote_connections.rb +++ b/actioncable/lib/action_cable/remote_connections.rb @@ -51,9 +51,10 @@ module ActionCable server.connection_identifiers end - private + protected attr_reader :server + private def set_identifier_instance_vars(ids) raise InvalidIdentifiersError unless valid_identifiers?(ids) ids.each { |k, v| instance_variable_set("@#{k}", v) } -- cgit v1.2.3