Class: Capistrano::Generals::Generators::NginxGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Capistrano::Generals::Generators::NginxGenerator
- Defined in:
- lib/generators/capistrano/generals/nginx_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_template ⇒ Object
11 12 13 |
# File 'lib/generators/capistrano/generals/nginx_generator.rb', line 11 def copy_template copy_file 'nginx.conf.erb', "#{templates_path}/nginx.conf.erb" end |