Class: CodeAnalyzer::CheckingVisitor::Plain
- Defined in:
- lib/code_analyzer/checking_visitor/plain.rb
Overview
This is the checking visitor to check ruby plain code.
Instance Method Summary collapse
-
#check(filename, content) ⇒ Object
check the ruby plain code.
Methods inherited from Base
#after_check, #initialize, #warnings
Constructor Details
This class inherits a constructor from CodeAnalyzer::CheckingVisitor::Base
Instance Method Details
#check(filename, content) ⇒ Object
check the ruby plain code.
9 10 11 12 13 |
# File 'lib/code_analyzer/checking_visitor/plain.rb', line 9 def check(filename, content) @checkers.each do |checker| checker.check(filename, content) if checker.parse_file?(filename) end end |