Class: DockerDirEnv::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- DockerDirEnv::Generators::InstallGenerator
- Defined in:
- lib/generators/docker_dir_env/install_generator.rb
Instance Method Summary collapse
-
#install ⇒ Object
Installs the required files in the application.
Instance Method Details
#install ⇒ Object
Installs the required files in the application
15 16 17 18 19 20 21 |
# File 'lib/generators/docker_dir_env/install_generator.rb', line 15 def install copy_envrc copy_database_yml copy_docker_db_setup_sh system(`direnv allow`) print("#{readme}\n") end |