Class: WayOfWorking::PullRequestTemplate::Hdi::Generators::Init

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/way_of_working/pull_request_template/hdi/generators/init.rb

Overview

This generator adds the Pull Request template to a project

Instance Method Summary collapse

Instance Method Details

#copy_pr_template_actionObject



15
16
17
# File 'lib/way_of_working/pull_request_template/hdi/generators/init.rb', line 15

def copy_pr_template_action
  copy_file '.github/pull_request_template.md'
end

#copy_way_of_working_documentationObject



19
20
21
# File 'lib/way_of_working/pull_request_template/hdi/generators/init.rb', line 19

def copy_way_of_working_documentation
  copy_file 'docs/way_of_working/pull-request-template-and-guidelines.md'
end