Sha256: 505914650b02e009a48e4e9cbf51cdb2585d4274bb7bbb7eb6854fd3fa1d3706

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

module Brewdler
  class CaskInstaller
    def self.install(name)
      if system 'brew cask info'
        `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.0.0 lib/brewdler/cask_installer.rb
brewdler-0.5.0 lib/brewdler/cask_installer.rb