instance method
using_bun?
Ruby on Rails 7.1.6
Since v7.1.6 PrivateSignature
using_bun?()
No documentation comment.
Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 105
def using_bun?
# Cannot assume bun.lockb 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 105
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::ChannelGenerator