Class: Git::Conform::TabCharacterChecker
- Inherits:
-
FileChecker
- Object
- BaseChecker
- FileChecker
- Git::Conform::TabCharacterChecker
- Defined in:
- lib/git/conform/checkers/tab_character_checker.rb
Instance Attribute Summary
Attributes inherited from BaseChecker
Instance Method Summary collapse
-
#conforms? ⇒ Boolean
.gitmodules uses a format very similar to the ‘git config’ one!.
Methods inherited from FileChecker
available_checkers, #content, #excluded?, excluded?, inherited
Methods inherited from BaseChecker
#check_conformity, #check_exclusion, #excluded?, #initialize
Constructor Details
This class inherits a constructor from Git::Conform::BaseChecker
Instance Method Details
#conforms? ⇒ Boolean
.gitmodules uses a format very similar to the ‘git config’ one!
12 13 14 |
# File 'lib/git/conform/checkers/tab_character_checker.rb', line 12 def conforms? super && !content.include?("\t") end |