Sha256: cbfb2c5a16822c48afa400bc9e9cd22df45e131a5587494ea3d394b9b567ef4d

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

module Brewdler
  class CaskInstaller
    def self.install(name)
      if system "brew cask info #{name}"
        `brew cask install #{name}`
      else
        raise "Unable to install #{name}. Homebrew-cask is not currently installed on your system"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brewdler-1.1.0 lib/brewdler/cask_installer.rb
brewdler-1.0.1 lib/brewdler/cask_installer.rb