instance method
using_js_runtime?
Ruby on Rails 8.1.2
Since v7.1.6Signature
using_js_runtime?()
No documentation comment.
Source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 54
def using_js_runtime?
@using_js_runtime ||= Pathname(destination_root).join("package.json").exist?
end
Defined in actiontext/lib/generators/action_text/install/install_generator.rb line 54
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Generators::InstallGenerator