lib/action_cable/channel/naming.rb in actioncable-5.2.0 vs lib/action_cable/channel/naming.rb in actioncable-5.2.1.rc1

- old
+ new

@@ -3,10 +3,10 @@ module ActionCable module Channel 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. # # ChatChannel.channel_name # => 'chat'