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.
10 11 12 |
# File 'lib/code_analyzer/checking_visitor/plain.rb', line 10 def check(filename, content) @checkers.each { |checker| checker.check(filename, content) if checker.parse_file?(filename) } end |