Class: SwiftlintTranslateCheckstyleFormat::CLI
- Inherits:
-
Thor
- Object
- Thor
- SwiftlintTranslateCheckstyleFormat::CLI
- Includes:
- Translate
- Defined in:
- lib/swiftlint_translate_checkstyle_format/cli.rb
Instance Method Summary collapse
Methods included from Translate
add_dummy, create_message, #parse, #trans
Instance Method Details
#translate ⇒ Object
9 10 11 12 13 14 |
# File 'lib/swiftlint_translate_checkstyle_format/cli.rb', line 9 def translate data = fetch_data() parsed_data = parse(data) checkstyle = trans(parsed_data) checkstyle.write(STDOUT, 2) end |