method
using_javascript?
v7.2.3 -
Show latest stable
- Class:
Rails::Generators::ChannelGenerator
using_javascript?()private
No documentation available.
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 99
def using_javascript?
@using_javascript ||= options[:assets] && root.join("app/javascript").exist?
end