Class: LintTrap::Linter::CheckStyle
- Defined in:
- lib/lint_trap/linter/checkstyle.rb
Overview
Encapsulates logic specific to checkstyle command line tool.
Constant Summary collapse
- CHECKS_XML =
'checkstyle/sun_checks.xml'
Constants inherited from Base
Base::CONFIG_PATH, Base::LintError
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#==, #add_language, #image, #image_version, #initialize, #inspect, #lint, #name
Constructor Details
This class inherits a constructor from LintTrap::Linter::Base
Instance Method Details
#jar ⇒ Object
13 14 15 |
# File 'lib/lint_trap/linter/checkstyle.rb', line 13 def jar "checkstyle/checkstyle_logger-#{version}-all.jar" end |
#version ⇒ Object
9 10 11 |
# File 'lib/lint_trap/linter/checkstyle.rb', line 9 def version '6.6' end |