Class: HomebrewCask
Constant Summary
collapse
- CASKROOM =
'caskroom/cask'
Instance Method Summary
collapse
Methods inherited from Passenger
by_name, emoji_name, #initialize, needs, register_as, with_emoji
Constructor Details
This class inherits a constructor from Passenger
Instance Method Details
#clean ⇒ Object
15
16
17
|
# File 'lib/exogenesis/passengers/homebrew_cask.rb', line 15
def clean
execute 'Clean Up', 'brew cask cleanup'
end
|
#down ⇒ Object
19
20
21
22
|
# File 'lib/exogenesis/passengers/homebrew_cask.rb', line 19
def down
uninstall_installed_casks
untap_cask
end
|
#up ⇒ Object
10
11
12
13
|
# File 'lib/exogenesis/passengers/homebrew_cask.rb', line 10
def up
tap_cask
install_missing_casks
end
|