Class: Danger::DangerCommitLint::CommitCheck
- Inherits:
-
Object
- Object
- Danger::DangerCommitLint::CommitCheck
- Defined in:
- lib/commit_lint/commit_check.rb
Overview
:nodoc:
Direct Known Subclasses
EmptyLineCheck, SubjectCapCheck, SubjectLengthCheck, SubjectPeriodCheck, SubjectWordsCheck
Class Method Summary collapse
Instance Method Summary collapse
- #fail? ⇒ Boolean
-
#initialize(message) ⇒ CommitCheck
constructor
A new instance of CommitCheck.
Constructor Details
#initialize(message) ⇒ CommitCheck
Returns a new instance of CommitCheck.
8 |
# File 'lib/commit_lint/commit_check.rb', line 8 def initialize(); end |
Class Method Details
.fail?(message) ⇒ Boolean
4 5 6 |
# File 'lib/commit_lint/commit_check.rb', line 4 def self.fail?() new().fail? end |
Instance Method Details
#fail? ⇒ Boolean
10 11 12 |
# File 'lib/commit_lint/commit_check.rb', line 10 def fail? raise 'implement in subclass' end |