Class: WayOfWorking::InclusiveLanguage::Alex::Generators::Init

Inherits:
Thor::Group
  • Object
show all
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

Instance Method Details

#copy_alexignore_fileObject



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_fileObject



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_actionObject



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_documentationObject



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