Class: Idcf::Cli::Lib::Convert::Formatter::XmlFormat

Inherits:
Base
  • Object
show all
Defined in:
lib/idcf/cli/lib/convert/formatter/xml_format.rb

Overview

xml formatter

Instance Method Summary collapse

Instance Method Details

#format(data) ⇒ Object



13
14
15
# File 'lib/idcf/cli/lib/convert/formatter/xml_format.rb', line 13

def format(data)
  data.to_xml(dasherize: false)
end