Class: Codeqa::Checkers::CheckConflict
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_conflict.rb', line 14
def self.check?(sourcefile)
sourcefile.text?
end
|
Instance Method Details
#hint ⇒ Object
10
11
12
|
# File 'lib/codeqa/checkers/check_conflict.rb', line 10
def hint
'Remove the lines which are beginning with <<<<<<< or >>>>>>> or =======.'
end
|
#name ⇒ Object
6
7
8
|
# File 'lib/codeqa/checkers/check_conflict.rb', line 6
def name
'conflict'
end
|