Class: PhusionPassenger::AbstractInstaller
- 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
-
#initialize(options = {}) ⇒ AbstractInstaller
constructor
A new instance of AbstractInstaller.
- #start ⇒ Object
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( = {}) .each_pair do |key, value| instance_variable_set(:"@#{key}", value) end end |
Instance Method Details
#start ⇒ Object
42 43 44 45 46 |
# File 'lib/phusion_passenger/abstract_installer.rb', line 42 def start install! ensure reset_terminal_colors end |