Class: YamlCspConfig::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- YamlCspConfig::Generators::InstallGenerator
- Defined in:
- lib/generators/yaml_csp_config/install_generator.rb
Overview
The Install generator ‘yaml_csp_config:install`
Instance Method Summary collapse
Instance Method Details
#copy_tasks ⇒ Object
12 13 14 15 |
# File 'lib/generators/yaml_csp_config/install_generator.rb', line 12 def copy_tasks template "templates/yaml_csp_config.rb", "config/initializers/yaml_csp_config.rb" template "templates/content_security_policy.yml", "config/content_security_policy.yml" end |