instance method
yarn_when_updating
Ruby on Rails 6.1.7.10
Since v6.1.7.10 Last seen in v6.1.7.10Signature
yarn_when_updating()
No documentation comment.
Source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 106
def yarn_when_updating
template "bin/yarn", force: true do |content|
"#{shebang}\n" + content
end
chmod "bin", 0755 & ~File.umask, verbose: false
end
Defined in railties/lib/rails/generators/rails/app/app_generator.rb line 106
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::AppBuilder