class Builder::XmlBase

def initialize(indent=0, initial=0, encoding='utf-8')

the output stream.
characters aren't converted to character entities in
encoding :: When encoding and $KCODE are set to 'utf-8'
initial :: Level of initial indentation.
indentation and no line breaks).
indent :: Number of spaces used for indentation (0 implies no
<<.
out :: Object receiving the markup. +out+ must respond to

Create an XML markup builder.
def initialize(indent=0, initial=0, encoding='utf-8')
  @indent = indent
  @level  = initial
  @encoding = encoding.downcase
end