Class: Redmine::Installer::Step::WebserverConfig
- Defined in:
- lib/redmine-installer/steps/webserver_config.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#down, #final_step, #initialize, #load, #print_footer, #print_header, #print_title, #redmine_plugins, #save
Methods included from Utils
Constructor Details
This class inherits a constructor from Redmine::Installer::Step::Base
Instance Method Details
#up ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/redmine-installer/steps/webserver_config.rb', line 4 def up choices = {} plugin::WebServer.all.each do |m| choices[m] = m.title end choices[nil] = t(:skip) answer = choose(:"what_web_server_do_you_want", choices, default: nil) # Skip return if answer.nil? say("(#{answer.title })", 5) say(answer.generate_config(base.redmine_root)) end |