Class: Custom::Generators::TemplateGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Custom::Generators::TemplateGenerator
- Defined in:
- lib/custom-template.rb
Instance Method Summary collapse
-
#generate_template ⇒ Object
——————-# generate_template # ——————-#.
Instance Method Details
#generate_template ⇒ Object
——————-# generate_template # ——————-#
16 17 18 19 20 |
# File 'lib/custom-template.rb', line 16 def generate_template directory "templates/erb", "lib/templates/erb", recursive: true # directory "templates/haml", "lib/templates/haml", recursive: true directory "templates/rails", "lib/templates/rails", recursive: true end |