Sha256: 6fa4d4bf3c97210dc3fbd0a226fed5071ce122fbbde4ff9abd789e4090a83956
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 Bytes
Contents
module Bcupgrade module BrewCask CASKROOM_PATH = '/usr/local/Caskroom'.freeze def self.list `brew cask list` end def self.info(cask) `brew cask info #{cask}` end def self.remove(cask) system "rm -rf #{CASKROOM_PATH}/#{cask}" end def self.install(cask) system "brew cask install --force #{cask}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bcupgrade-0.3.1 | lib/bcupgrade/brew_cask.rb |
bcupgrade-0.3.0 | lib/bcupgrade/brew_cask.rb |