Method: Phpow::ApacheConfiguration#install
- Defined in:
- lib/phpow/apache_configuration.rb
#install ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/phpow/apache_configuration.rb', line 16 def install puts "You are about to write the file '#{pathname}'?" print "Enter 'yes' to confirm: " return unless gets.strip == "yes" write_file end |