Class: SkeletonLoader::Generators::ResetTemplatesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SkeletonLoader::Generators::ResetTemplatesGenerator
- Defined in:
- lib/generators/skeleton_loader/reset_templates_generator.rb
Overview
Forces overwrite of any customized templates in app/views/skeleton_loader with the original default versions.
Instance Method Summary collapse
Instance Method Details
#reset_templates ⇒ Object
11 12 13 |
# File 'lib/generators/skeleton_loader/reset_templates_generator.rb', line 11 def reset_templates directory ".", "app/views/skeleton_loader", force: true end |