Class: Cask::Reinstall Private
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Class Method Summary collapse
Class Method Details
.reinstall_casks(*casks, verbose: nil, force: nil, skip_cask_deps: nil, binaries: nil, require_sha: nil, quarantine: nil, zap: nil) ⇒ Object
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'cask/reinstall.rb', line 8 def self.reinstall_casks( *casks, verbose: nil, force: nil, skip_cask_deps: nil, binaries: nil, require_sha: nil, quarantine: nil, zap: nil ) require "cask/installer" quarantine = true if quarantine.nil? casks.each do |cask| Installer.new(cask, binaries: binaries, verbose: verbose, force: force, skip_cask_deps: skip_cask_deps, require_sha: require_sha, reinstall: true, quarantine: quarantine, zap: zap).install end end |