Class: Periphery::CheckstyleParser
- Inherits:
-
Object
- Object
- Periphery::CheckstyleParser
- Defined in:
- lib/periphery/checkstyle_parser.rb
Defined Under Namespace
Classes: Listener
Instance Method Summary collapse
Instance Method Details
#parse(string) ⇒ Object
48 49 50 51 52 |
# File 'lib/periphery/checkstyle_parser.rb', line 48 def parse(string) listener = Listener.new REXML::Parsers::StreamParser.new(string, listener).parse listener.results end |