Module: WarningShot::TemplateGenerator Private
- Defined in:
- lib/warningshot/template_generator.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .create(path) ⇒ Object private
- .generate_configs(path) ⇒ Object private
Class Method Details
.create(path) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 |
# File 'lib/warningshot/template_generator.rb', line 7 def create(path) generate_configs(path) end |
.generate_configs(path) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 14 |
# File 'lib/warningshot/template_generator.rb', line 11 def generate_configs(path) from = WarningShot.dir_for(:templates) / WarningShot::RecipeExt copy_templates from, path end |