Class: WayOfWorking::InclusiveLanguage::Alex::Generators::Init
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- WayOfWorking::InclusiveLanguage::Alex::Generators::Init
- Includes:
- Thor::Actions
- Defined in:
- lib/way_of_working/inclusive_language/alex/generators/init.rb
Overview
This generator adds the alexrc file
Instance Method Summary collapse
- #copy_alexignore_file ⇒ Object
- #copy_alexrc_file ⇒ Object
- #copy_inclusive_language_github_workflow_action ⇒ Object
- #copy_way_of_working_documentation ⇒ Object
Instance Method Details
#copy_alexignore_file ⇒ Object
19 20 21 |
# File 'lib/way_of_working/inclusive_language/alex/generators/init.rb', line 19 def copy_alexignore_file copy_file '.alexignore' end |
#copy_alexrc_file ⇒ Object
23 24 25 |
# File 'lib/way_of_working/inclusive_language/alex/generators/init.rb', line 23 def copy_alexrc_file copy_file '.alexrc' end |
#copy_inclusive_language_github_workflow_action ⇒ Object
15 16 17 |
# File 'lib/way_of_working/inclusive_language/alex/generators/init.rb', line 15 def copy_inclusive_language_github_workflow_action copy_file '.github/workflows/inclusive-language.yml' end |
#copy_way_of_working_documentation ⇒ Object
27 28 29 |
# File 'lib/way_of_working/inclusive_language/alex/generators/init.rb', line 27 def copy_way_of_working_documentation copy_file 'docs/way_of_working/inclusive-language.md' end |