Class: SkeletonLoader::Generators::AddTemplatesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SkeletonLoader::Generators::AddTemplatesGenerator
- Defined in:
- lib/generators/skeleton_loader/add_templates_generator.rb
Overview
Copies default templates to app/views/skeleton_loader and creates the necessary initializer file.
Instance Method Summary collapse
Instance Method Details
#add_templates ⇒ Object
11 12 13 |
# File 'lib/generators/skeleton_loader/add_templates_generator.rb', line 11 def add_templates directory ".", "app/views/skeleton_loader" end |