Class: CommitCheck
- Inherits:
-
Object
show all
- Defined in:
- lib/wcc/commit_lint/commit_check.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(message, options = {}) ⇒ CommitCheck
Returns a new instance of CommitCheck.
8
9
|
# File 'lib/wcc/commit_lint/commit_check.rb', line 8
def initialize(message, options = {})
end
|
Class Method Details
.fail?(message, options) ⇒ Boolean
4
5
6
|
# File 'lib/wcc/commit_lint/commit_check.rb', line 4
def self.fail?(message, options)
new(message, options || {}).fail?
end
|
Instance Method Details
#fail? ⇒ Boolean
15
16
17
|
# File 'lib/wcc/commit_lint/commit_check.rb', line 15
def fail?
raise NotImplementedError, 'implement in subclass'
end
|
#message ⇒ Object
11
12
13
|
# File 'lib/wcc/commit_lint/commit_check.rb', line 11
def message
raise NotImplementedError, 'implement in subclass'
end
|