instance method
using_node?
Ruby on Rails 8.1.2
Since v7.1.6Signature
using_node?()
No documentation comment.
Source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 64
def using_node?
# Bun is the only runtime that _isn't_ node.
@using_node ||= using_js_runtime? && !Pathname(destination_root).join("bun.config.js").exist?
end
Defined in actiontext/lib/generators/action_text/install/install_generator.rb line 64
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Generators::InstallGenerator