Class: Codeqa::Checkers::CheckStrangeChars
Instance Attribute Summary
#errors, #sourcefile
Class Method Summary
collapse
Instance Method Summary
collapse
available?, #check
available?, #initialize
Class Method Details
.check?(sourcefile) ⇒ Boolean
14
15
16
|
# File 'lib/codeqa/checkers/check_strange_chars.rb', line 14
def self.check?(sourcefile)
sourcefile.text?
end
|
Instance Method Details
#hint ⇒ Object
10
11
12
|
# File 'lib/codeqa/checkers/check_strange_chars.rb', line 10
def hint
'The file contains a tab or form feed. Remove them.'
end
|
#name ⇒ Object
6
7
8
|
# File 'lib/codeqa/checkers/check_strange_chars.rb', line 6
def name
'strange chars'
end
|