Class: Jekyll::PreCommit::Checks::Check
- Inherits:
-
Object
- Object
- Jekyll::PreCommit::Checks::Check
- Defined in:
- lib/jekyll-pre-commit/checks/check.rb
Overview
The baseline check class All checks should extend this class
Direct Known Subclasses
FrontMatterVariableExists, FrontMatterVariableIsNotDuplicate, FrontMatterVariableMeetsLengthRequirements, NoDuplicateTags, SpellCheck
Instance Method Summary collapse
-
#initialize ⇒ Check
constructor
A new instance of Check.
Constructor Details
#initialize ⇒ Check
Returns a new instance of Check.
7 8 9 |
# File 'lib/jekyll-pre-commit/checks/check.rb', line 7 def initialize @result = { ok: true, message: '' } end |