Class: Redmine::Installer::Step::EnvCheck
- Defined in:
- lib/redmine-installer/steps/env_check.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#down, #final, #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
#prepare ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/redmine-installer/steps/env_check.rb', line 4 def prepare # Check if windows # if windows? # confirm(:do_you_want_continue_if_windows, false) # end if root? && !confirm(:installer_run_as_root, false) error(:terminated_by_user) end end |
#up ⇒ Object
15 16 17 |
# File 'lib/redmine-installer/steps/env_check.rb', line 15 def up say '<green>... OK</green>', 1 end |