Class: HomebrewCask

Inherits:
Passenger show all
Defined in:
lib/exogenesis/passengers/homebrew_cask.rb

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

#cleanObject



15
16
17
# File 'lib/exogenesis/passengers/homebrew_cask.rb', line 15

def clean
  execute 'Clean Up', 'brew cask cleanup'
end

#downObject



19
20
21
22
# File 'lib/exogenesis/passengers/homebrew_cask.rb', line 19

def down
  uninstall_installed_casks
  untap_cask
end

#upObject



10
11
12
13
# File 'lib/exogenesis/passengers/homebrew_cask.rb', line 10

def up
  tap_cask
  install_missing_casks
end