Class: Vps::Recipes::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Vps::Recipes::Generators::InstallGenerator
- Defined in:
- lib/rails/generators/vps/recipes/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_deploy_file ⇒ Object
10 11 12 |
# File 'lib/rails/generators/vps/recipes/install/install_generator.rb', line 10 def create_deploy_file template 'deploy.rb', File.join('config', 'deploy.rb') end |
#create_production_file ⇒ Object
18 19 20 |
# File 'lib/rails/generators/vps/recipes/install/install_generator.rb', line 18 def create_production_file template 'production.rb', File.join('config', 'deploy', 'production.rb') end |
#create_staging_file ⇒ Object
14 15 16 |
# File 'lib/rails/generators/vps/recipes/install/install_generator.rb', line 14 def create_staging_file template 'staging.rb', File.join('config', 'deploy', 'staging.rb') end |