diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-04 08:58:56 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-04 09:04:15 +0900 |
commit | a07d0680787ced3c04b362fa7a238c918211ac70 (patch) | |
tree | eb31f980e6dfecaa77ca49f8f6cd2e4fd2f11c56 /actioncable/lib/action_cable/connection | |
parent | 57a9661a9c24ffdbb558cbbc456d8655204840a7 (diff) | |
download | rails-a07d0680787ced3c04b362fa7a238c918211ac70.tar.gz rails-a07d0680787ced3c04b362fa7a238c918211ac70.tar.bz2 rails-a07d0680787ced3c04b362fa7a238c918211ac70.zip |
Class methods in the `class_methods` blocks are wrongly appeared in the doc
It is wrongly appeared as instance public methods in the doc.
http://api.rubyonrails.org/v5.1.6/classes/ActionCable/Channel/Callbacks.html
http://api.rubyonrails.org/v5.1.6/classes/ActiveRecord/Timestamp.html
Diffstat (limited to 'actioncable/lib/action_cable/connection')
-rw-r--r-- | actioncable/lib/action_cable/connection/identification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/connection/identification.rb b/actioncable/lib/action_cable/connection/identification.rb index 4b5f9ca115..cc544685dd 100644 --- a/actioncable/lib/action_cable/connection/identification.rb +++ b/actioncable/lib/action_cable/connection/identification.rb @@ -11,7 +11,7 @@ module ActionCable class_attribute :identifiers, default: Set.new end - class_methods do + module ClassMethods # Mark a key as being a connection identifier index that can then be used to find the specific connection again later. # Common identifiers are current_user and current_account, but could be anything, really. # |