Class: Redmine::Installer::Install

Inherits:
Task
  • Object
show all
Defined in:
lib/redmine-installer/install.rb

Constant Summary collapse

STEPS =
[
  step::EnvCheck,
  step::RedmineRoot,
  step::LoadPackage,
  step::DatabaseConfig,
  step::EmailConfig,
  step::Install,
  step::MoveRedmine,
  step::WebserverConfig
]

Instance Attribute Summary collapse

Attributes inherited from Task

#env, #options, #redmine_root, #settings, #steps, #tmp_redmine_root

Instance Method Summary collapse

Methods inherited from Task

#check_package, inherited, #run, step

Constructor Details

#initialize(package, options = {}) ⇒ Install

Returns a new instance of Install.



43
44
45
46
47
48
# File 'lib/redmine-installer/install.rb', line 43

def initialize(package, options={})
  self.package = package
  super(options)

  check_package
end

Instance Attribute Details

#packageObject

Returns the value of attribute package.



41
42
43
# File 'lib/redmine-installer/install.rb', line 41

def package
  @package
end