instance method create_shared_channel_files

Ruby on Rails 7.1.6

Since v7.0.10 Private

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

create_shared_channel_files()

No documentation comment.

Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 38
        def create_shared_channel_files
          return if behavior != :invoke

          copy_file "#{__dir__}/templates/application_cable/channel.rb",
            "app/channels/application_cable/channel.rb"
          copy_file "#{__dir__}/templates/application_cable/connection.rb",
            "app/channels/application_cable/connection.rb"
        end

Defined in actioncable/lib/rails/generators/channel/channel_generator.rb line 38 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::ChannelGenerator

Type at least 2 characters to search.

↑↓ navigate · open · esc close