Class: Pronto::Formatter::CheckstyleFormatter
- Defined in:
- lib/pronto/formatter/checkstyle_formatter.rb
Class Method Summary collapse
Instance Method Summary collapse
- #format(messages, _repo, _patches) ⇒ Object
-
#initialize ⇒ CheckstyleFormatter
constructor
A new instance of CheckstyleFormatter.
Methods inherited from Base
Constructor Details
#initialize ⇒ CheckstyleFormatter
Returns a new instance of CheckstyleFormatter.
10 11 12 |
# File 'lib/pronto/formatter/checkstyle_formatter.rb', line 10 def initialize @output = '' end |
Class Method Details
.name ⇒ Object
6 7 8 |
# File 'lib/pronto/formatter/checkstyle_formatter.rb', line 6 def self.name 'checkstyle' end |
Instance Method Details
#format(messages, _repo, _patches) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/pronto/formatter/checkstyle_formatter.rb', line 14 def format(, _repo, _patches) open_xml () close_xml @output end |