Class: Rack::Logjam::Formatters::Xml
- Defined in:
- lib/rack/logjam/formatters/xml.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Rack::Logjam::Formatters::Base
Instance Method Details
#render ⇒ Object
8 9 10 11 12 |
# File 'lib/rack/logjam/formatters/xml.rb', line 8 def render ::Nokogiri.XML( content ) do |config| config.default_xml.noblanks end.to_xml( indent: 2 ) end |