method

yarn_when_updating

rails latest stable - Class: Rails::AppBuilder

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

yarn_when_updating()
public

No documentation available.

# 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