class CodeAnalyzer::CheckingVisitor::Plain
This is the checking visitor to check ruby plain code.
Public Instance Methods
check(filename, content)
click to toggle source
check the ruby plain code.
@param [String] filename is the filename of ruby code. @param [String] content is the content of ruby file.
# 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