Class: FindbugsTranslateCheckstyleFormat::CLI

Inherits:
Thor
  • Object
show all
Includes:
Translate
Defined in:
lib/findbugs_translate_checkstyle_format/cli.rb

Instance Method Summary collapse

Methods included from Translate

#fqcn_to_path, #parse, #trans

Instance Method Details

#translateObject



9
10
11
12
13
14
# File 'lib/findbugs_translate_checkstyle_format/cli.rb', line 9

def translate
  data = fetch_data(options)
  xml = parse(data)
  checkstyle = trans(xml)
  checkstyle.write(STDOUT, 2)
end