Class: Dependencies::Cask
- Inherits:
-
Brew
- Object
- Dependency
- Brew
- Dependencies::Cask
- Defined in:
- lib/dependencies/cask.rb
Constant Summary
Constants inherited from Dependency
Dependency::DESCRIPTION_TYPE_WIDTH
Instance Attribute Summary
Attributes inherited from Dependency
Instance Method Summary collapse
Methods inherited from Brew
Methods inherited from Dependency
#always_act?, #exit_code, #failure?, #initialize, #output, #should_meet?, #success?, #type, #unmeet
Constructor Details
This class inherits a constructor from Dependency
Instance Method Details
#meet ⇒ Object
9 10 11 |
# File 'lib/dependencies/cask.rb', line 9 def meet execute("brew install --cask #{name}") end |
#met? ⇒ Boolean
5 6 7 |
# File 'lib/dependencies/cask.rb', line 5 def met? execute("brew list --cask #{name}") end |