class REXML::Formatters::Pretty
def initialize( indentation=2, ie_hack=false )
tags, thereby allowing Internet Explorer's XML parser to
If true, the printer will insert whitespace before closing empty
ie_hack::
is undefined. Defaults to 2.
this number of spaces. If this is < 1, the behavior of this object
An integer greater than 0. The indentation of each level will be
indentation::
An object implementing '<<(String)', to which the output will be written.
output::
Create a new pretty printer.
def initialize( indentation=2, ie_hack=false ) @indentation = indentation @level = 0 @ie_hack = ie_hack @width = 80 @compact = false end