Class: PhusionPassenger::AbstractInstaller

Inherits:
Object
  • Object
show all
Defined in:
lib/phusion_passenger/abstract_installer.rb

Overview

Abstract base class for installers. Used by passenger-install-apache2-module and passenger-install-nginx-module.

Constant Summary collapse

PASSENGER_WEBSITE =
"http://www.modrails.com/"
PHUSION_WEBSITE =
"www.phusion.nl"

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ AbstractInstaller

Returns a new instance of AbstractInstaller.



36
37
38
39
40
# File 'lib/phusion_passenger/abstract_installer.rb', line 36

def initialize(options = {})
	options.each_pair do |key, value|
		instance_variable_set(:"@#{key}", value)
	end
end

Instance Method Details

#startObject



42
43
44
45
46
# File 'lib/phusion_passenger/abstract_installer.rb', line 42

def start
	install!
ensure
	reset_terminal_colors
end