Class: Mixlib::Install::Generator

Inherits:
Object
  • Object
show all
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(options)
  if options.for_ps1?
    PowerShell.new(options).install_command
  else
    Bourne.new(options).install_command
  end
end