instance method using_node?

Ruby on Rails 7.1.6

Since v7.1.6

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

Signature

using_node?()

No documentation comment.

Source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 81
      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 81 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionText::Generators::InstallGenerator

Type at least 2 characters to search.

↑↓ navigate · open · esc close