Create an XML markup builder.
| out: | Object receiving the markup. out must respond to <<. |
| indent: | Number of spaces used for indentation (0 implies no indentation and no line breaks). |
| initial: | Level of initial indentation. |
Source Code
# File builder/xmlbase.rb, line 22 def initialize(indent=0, initial=0) @indent = indent @level = initial end
<code/>and<pre/>for code samples.