instance method
using_node?
Ruby on Rails 8.0.4
Since v7.0.10 PrivateSignature
using_node?()
No documentation comment.
Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 113
def using_node?
# Bun is the only runtime that _isn't_ node.
@using_node ||= using_js_runtime? && !root.join("bun.config.js").exist?
end
Defined in actioncable/lib/rails/generators/channel/channel_generator.rb line 113
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::ChannelGenerator