instance method using_bun?

Ruby on Rails 8.1.2

Since v7.1.6 Private

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

Signature

using_bun?()

No documentation comment.

Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 107
        def using_bun?
          # Cannot assume Bun lockfile has been generated yet so we look for a file known to
          # be generated by the jsbundling-rails gem
          @using_bun ||= using_js_runtime? && root.join("bun.config.js").exist?
        end

Defined in actioncable/lib/rails/generators/channel/channel_generator.rb line 107 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::ChannelGenerator

Type at least 2 characters to search.

↑↓ navigate · open · esc close