Class: Brewdler::RepoInstaller
- Inherits:
-
Object
- Object
- Brewdler::RepoInstaller
- Defined in:
- lib/brewdler/repo_installer.rb
Class Method Summary collapse
Class Method Details
.install(name) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/brewdler/repo_installer.rb', line 3 def self.install(name) if `which brew`; $?.success? `brew tap #{name}` else raise "Unable to tap #{name}. Homebrew is not currently installed on your system" end end |