Class: Hierapolis::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Hierapolis::Generators::InstallGenerator
- Defined in:
- lib/generators/hierapolis/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_layouts ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/generators/hierapolis/install_generator.rb', line 15 def copy_layouts directory 'layouts/hq', 'app/views/layouts/hq' directory 'layouts/hq/partials', 'app/views/layouts/hq/partials' directory 'layouts/partials', 'app/views/layouts/partials' copy_file 'layouts/login.html.haml', 'app/views/layouts/login.html.haml' end |
#copy_scaffold_template ⇒ Object
9 10 11 12 13 |
# File 'lib/generators/hierapolis/install_generator.rb', line 9 def copy_scaffold_template directory 'haml', 'lib/templates/haml' directory 'rails', 'lib/templates/rails' directory 'generators', 'lib/generators' end |