class CodeAnalyzer::CheckingVisitor::Base
Base
class for checking visitor.
Public Class Methods
new(options = {})
click to toggle source
# File lib/code_analyzer/checking_visitor/base.rb, line 6 def initialize(options = {}) @checkers = options[:checkers] end
Public Instance Methods
after_check()
click to toggle source
# File lib/code_analyzer/checking_visitor/base.rb, line 10 def after_check; end
warnings()
click to toggle source
# File lib/code_analyzer/checking_visitor/base.rb, line 12 def warnings @warnings ||= @checkers.map(&:warnings).flatten end