Class: Periphery::CheckstyleParser
- Inherits:
-
Object
- Object
- Periphery::CheckstyleParser
- Defined in:
- lib/periphery/checkstyle_parser.rb
Overview
Parses / Checkstyle format XML produced by Periphery with –format=checkstyle option.
Defined Under Namespace
Classes: Listener
Instance Method Summary collapse
Instance Method Details
#parse(string) ⇒ Object
44 45 46 47 48 |
# File 'lib/periphery/checkstyle_parser.rb', line 44 def parse(string) listener = Listener.new REXML::Parsers::StreamParser.new(string, listener).parse listener.results end |