Class: Capistrano::Pg::Generators::ConfigGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Capistrano::Pg::Generators::ConfigGenerator
- Defined in:
- lib/generators/capistrano/pg/config_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_template ⇒ Object
11 12 13 |
# File 'lib/generators/capistrano/pg/config_generator.rb', line 11 def copy_template copy_file "database.yml.erb", "#{templates_path}/database.yml.erb" end |