Class: Guideline::AbcComplexityChecker
- Defined in:
- lib/guideline/checkers/abc_complexity_checker.rb
Defined Under Namespace
Classes: AbcParser
Constant Summary collapse
- DEFAULT_MAX =
15
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
7 8 9 10 11 |
# File 'lib/guideline/checkers/abc_complexity_checker.rb', line 7 def check(path) @current_path = path visitor.check(path.to_s, path.read) @current_path = nil end |