Class: Mixlib::Install::Generator
- Inherits:
-
Object
- Object
- Mixlib::Install::Generator
- Defined in:
- lib/mixlib/install/generator.rb,
lib/mixlib/install/generator/base.rb,
lib/mixlib/install/generator/bourne.rb,
lib/mixlib/install/generator/powershell.rb
Defined Under Namespace
Classes: Base, Bourne, PowerShell
Class Method Summary collapse
Class Method Details
.install_command(options) ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/mixlib/install/generator.rb', line 24 def self.install_command() if .for_ps1? PowerShell.new().install_command else Bourne.new().install_command end end |