Sha256: 9492429bfd9b5b3daa93fb7452fb7c59203e4b7e1d3a2978dceaa1308cb753ad
Contents?: true
Size: 309 Bytes
Versions: 11
Compression:
Stored size: 309 Bytes
Contents
module Dox module Formatters class Xml < Dox::Formatters::Base def format doc = REXML::Document.new(body) formatter = REXML::Formatters::Pretty.new formatter.compact = true result = '' formatter.write(doc, result) result end end end end
Version data entries
11 entries across 11 versions & 1 rubygems