Class: RailsAppGenerator::AddOns::DockerCompose
- Inherits:
-
RailsAppGenerator::Addon
- Object
- Rails::Generators::Base
- RailsAppGenerator::Addon
- RailsAppGenerator::AddOns::DockerCompose
- Defined in:
- lib/rails_app_generator/addons/docker_compose.rb
Overview
Add Docker Compose to rails application
Instance Attribute Summary
Attributes inherited from RailsAppGenerator::Addon
#context, #dependencies, #gem_entries
Instance Method Summary collapse
-
#apply ⇒ Object
Requires Testing.
Methods inherited from RailsAppGenerator::Addon
addon_name, dependencies, depends_on, gem, gem_entries, #initialize, required_gem, reset_gem_entries
Constructor Details
This class inherits a constructor from RailsAppGenerator::Addon
Instance Method Details
#apply ⇒ Object
Requires Testing
9 10 11 |
# File 'lib/rails_app_generator/addons/docker_compose.rb', line 9 def apply template 'docker-compose.yml.erb', 'docker-compose.yml' end |