Class: Nanaimo::Writer::XMLWriter
- Inherits:
-
Nanaimo::Writer
- Object
- Nanaimo::Writer
- Nanaimo::Writer::XMLWriter
- Defined in:
- lib/nanaimo/writer/xml.rb
Overview
Transforms native ruby objects or Plist objects into their XML Plist string representation.
Constant Summary
Constants inherited from Nanaimo::Writer
Instance Method Summary collapse
Methods inherited from Nanaimo::Writer
Constructor Details
This class inherits a constructor from Nanaimo::Writer
Instance Method Details
#write ⇒ Object
13 14 15 16 17 18 |
# File 'lib/nanaimo/writer/xml.rb', line 13 def write write_xml_header write_object(@plist.root_object) write_newline end |