instance method
create_channel_file
Ruby on Rails 7.0.10
Since v5.2.8.1 PrivateSignature
create_channel_file()
No documentation comment.
Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 47
def create_channel_file
template "channel.rb",
File.join("app/channels", class_path, "#{file_name}_channel.rb")
end
Defined in actioncable/lib/rails/generators/channel/channel_generator.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::ChannelGenerator