Class: NxBuild::Xml
Instance Attribute Summary
Attributes inherited from XmlNode
Instance Method Summary collapse
- #dump(buffer, indent = 0) ⇒ Object
-
#initialize(tag) ⇒ Xml
constructor
A new instance of Xml.
Methods inherited from XmlNode
Constructor Details
#initialize(tag) ⇒ Xml
Returns a new instance of Xml.
5 6 7 |
# File 'lib/nxbuild/xml/xml.rb', line 5 def initialize(tag) super end |
Instance Method Details
#dump(buffer, indent = 0) ⇒ Object
9 10 11 12 |
# File 'lib/nxbuild/xml/xml.rb', line 9 def dump(buffer, indent = 0) buffer << %{<?xml version="1.0" encoding="UTF-8"?>\n} super end |