Class: Guideline::AbcComplexityChecker

Inherits:
Checker
  • Object
show all
Defined in:
lib/guideline/checkers/abc_complexity_checker.rb

Defined Under Namespace

Classes: AbcParser

Instance Method Summary collapse

Methods inherited from Checker

#errors, #has_error?, #initialize, #report

Constructor Details

This class inherits a constructor from Guideline::Checker

Instance Method Details

#check(path) ⇒ Object



5
6
7
8
9
# File 'lib/guideline/checkers/abc_complexity_checker.rb', line 5

def check(path)
  @current_path = path
  visitor.check(path.to_s, path.read)
  @current_path = nil
end