Class: WayOfWorking::PullRequestTemplate::Hdi::GithubAuditRule
- Inherits:
-
Audit::Github::Rules::Base
- Object
- Audit::Github::Rules::Base
- WayOfWorking::PullRequestTemplate::Hdi::GithubAuditRule
- Defined in:
- lib/way_of_working/pull_request_template/hdi/github_audit_rule.rb
Overview
This rule checks for the Pull Request template.
Instance Method Summary collapse
Instance Method Details
#validate ⇒ Object
11 12 13 |
# File 'lib/way_of_working/pull_request_template/hdi/github_audit_rule.rb', line 11 def validate @errors << 'No Way of Working Pull Request template found' unless pull_request_template? end |