Class: Profile::HomeBrew
- Includes:
- Bashman
- Defined in:
- lib/bashman/homebrew.rb
Constant Summary
Constants included from Bashman
Bashman::CONFIG, Bashman::CONFIG_PATH, Bashman::VERSION
Instance Attribute Summary collapse
-
#casks ⇒ Object
readonly
Returns the value of attribute casks.
-
#formulae ⇒ Object
readonly
Returns the value of attribute formulae.
Instance Method Summary collapse
Methods included from Bashman
Methods inherited from JSONable
#from_json!, #to_hash, #to_json
Instance Attribute Details
#casks ⇒ Object (readonly)
Returns the value of attribute casks.
6 7 8 |
# File 'lib/bashman/homebrew.rb', line 6 def casks @casks end |
#formulae ⇒ Object (readonly)
Returns the value of attribute formulae.
7 8 9 |
# File 'lib/bashman/homebrew.rb', line 7 def formulae @formulae end |
Instance Method Details
#get_installed ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/bashman/homebrew.rb', line 9 def get_installed @installed = self.installed? if @installed.nil? if @installed @casks = self.get_casks @formulae = self.get_formulae end end |