Class: Wellcar::Templates::EnvDevelopmentDatabase
- Defined in:
- lib/wellcar/templates/env_development_database.rb
Instance Method Summary collapse
-
#initialize(app_name) ⇒ EnvDevelopmentDatabase
constructor
A new instance of EnvDevelopmentDatabase.
Methods inherited from Base
Constructor Details
#initialize(app_name) ⇒ EnvDevelopmentDatabase
Returns a new instance of EnvDevelopmentDatabase.
7 8 9 10 11 12 |
# File 'lib/wellcar/templates/env_development_database.rb', line 7 def initialize(app_name) super ".env/development/database" with_attributes app_name: app_name, password: SecureRandom.base64(20) with_template "env_development_database.erb" end |