Class: Homura::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Homura::InstallGenerator
- Defined in:
- lib/generators/homura/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_layout_file ⇒ Object
9 10 11 12 |
# File 'lib/generators/homura/install/install_generator.rb', line 9 def copy_layout_file copy_file 'application.html.slim', 'app/views/layouts/application.html.slim' end |
#copy_locale_file ⇒ Object
5 6 7 |
# File 'lib/generators/homura/install/install_generator.rb', line 5 def copy_locale_file copy_file 'layout.en.yml', 'config/locales/layout.en.yml' end |