instance method
using_bun?
Ruby on Rails 8.1.2
Since v7.1.6 PrivateSignature
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