aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/channel/naming.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-04-04 08:58:56 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-04-04 09:04:15 +0900
commita07d0680787ced3c04b362fa7a238c918211ac70 (patch)
treeeb31f980e6dfecaa77ca49f8f6cd2e4fd2f11c56 /actioncable/lib/action_cable/channel/naming.rb
parent57a9661a9c24ffdbb558cbbc456d8655204840a7 (diff)
downloadrails-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/channel/naming.rb')
-rw-r--r--actioncable/lib/action_cable/channel/naming.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/channel/naming.rb b/actioncable/lib/action_cable/channel/naming.rb
index 03a5dcd3a0..9c324a2a53 100644
--- a/actioncable/lib/action_cable/channel/naming.rb
+++ b/actioncable/lib/action_cable/channel/naming.rb
@@ -5,7 +5,7 @@ module ActionCable
module Naming
extend ActiveSupport::Concern
- class_methods do
+ module ClassMethods
# Returns the name of the channel, underscored, without the <tt>Channel</tt> ending.
# If the channel is in a namespace, then the namespaces are represented by single
# colon separators in the channel name.