instance method
using_js_runtime?
Ruby on Rails 8.1.2
Since v7.1.6 PrivateSignature
using_js_runtime?()
No documentation comment.
Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 103
def using_js_runtime?
@using_js_runtime ||= root.join("package.json").exist?
end
Defined in actioncable/lib/rails/generators/channel/channel_generator.rb line 103
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::ChannelGenerator