lib/action_cable/channel/naming.rb in actioncable-7.0.2.4 vs lib/action_cable/channel/naming.rb in actioncable-7.0.3
- old
+ new
@@ -16,10 +16,10 @@
def channel_name
@channel_name ||= name.delete_suffix("Channel").gsub("::", ":").underscore
end
end
- # Delegates to the class' <tt>channel_name</tt>
+ # Delegates to the class's ::channel_name.
delegate :channel_name, to: :class
end
end
end