Class: PmdTranslateCheckstyleFormat::Script
- Inherits:
-
Object
- Object
- PmdTranslateCheckstyleFormat::Script
show all
- Extended by:
- Translate
- Defined in:
- lib/pmd_translate_checkstyle_format/script.rb
Class Method Summary
collapse
Methods included from Translate
create_cpd_message, get_severity, parse, set_dummy, trans, trans_cpd
Class Method Details
.translate(xml_text) ⇒ Object
4
5
6
|
# File 'lib/pmd_translate_checkstyle_format/script.rb', line 4
def self.translate(xml_text)
trans(parse(xml_text)).to_s
end
|
.translate_cpd(xml_text) ⇒ Object
8
9
10
|
# File 'lib/pmd_translate_checkstyle_format/script.rb', line 8
def self.translate_cpd(xml_text)
trans_cpd(parse(xml_text)).to_s
end
|