Class: Pronto::Formatter::CheckstyleFormatter
- Inherits:
-
Object
- Object
- Pronto::Formatter::CheckstyleFormatter
- Defined in:
- lib/pronto/formatter/checkstyle_formatter.rb
Instance Method Summary collapse
- #format(messages, _, _) ⇒ Object
-
#initialize ⇒ CheckstyleFormatter
constructor
A new instance of CheckstyleFormatter.
Constructor Details
#initialize ⇒ CheckstyleFormatter
Returns a new instance of CheckstyleFormatter.
6 7 8 |
# File 'lib/pronto/formatter/checkstyle_formatter.rb', line 6 def initialize @output = '' end |
Instance Method Details
#format(messages, _, _) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/pronto/formatter/checkstyle_formatter.rb', line 10 def format(, _, _) open_xml () close_xml @output end |