Class: AppYml::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- AppYml::Generators::InstallGenerator
- Defined in:
- lib/generators/app_yml/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_config_file ⇒ Object
13 14 15 |
# File 'lib/generators/app_yml/install/install_generator.rb', line 13 def create_config_file template 'app.yml', File.join('config', 'app.yml') end |
#create_initializer_file ⇒ Object
17 18 19 |
# File 'lib/generators/app_yml/install/install_generator.rb', line 17 def create_initializer_file template 'app.rb', File.join('config', 'initializers', 'app.rb') end |