Class: Pot::Installers::Brew
- Inherits:
-
Pot::Installer
- Object
- Pot::Installer
- Pot::Installers::Brew
- Defined in:
- lib/pot/installers/brew.rb
Overview
Homebrew Package Installer
The Homebrew package installer uses the brew
command to install packages on OSX.
Example Usage
package :magic_beans do
description "Beans beans they're good for your heart..."
brew 'magic_beans_package'
end
Instance Attribute Summary collapse
-
#formulas ⇒ Object
:nodoc:.
Attributes inherited from Pot::Installer
#actor, #options, #package, #post, #pre
Instance Method Summary collapse
-
#initialize(parent, *formulas, &block) ⇒ Brew
constructor
:nodoc:.
Methods inherited from Pot::Installer
#archives, #builds, #commands, #prefix, #process
Constructor Details
#initialize(parent, *formulas, &block) ⇒ Brew
:nodoc:
18 19 20 21 22 23 24 |
# File 'lib/pot/installers/brew.rb', line 18 def initialize(parent, *formulas, &block) #:nodoc: formulas.flatten! super parent, &block @formulas = formulas end |
Instance Attribute Details
#formulas ⇒ Object
:nodoc:
16 17 18 |
# File 'lib/pot/installers/brew.rb', line 16 def formulas @formulas end |