Module that provides a #to_xml method that serialises the current node back to XML.
#to_xml
Returns:
7 8 9
# File 'lib/oga/xml/to_xml.rb', line 7 def to_xml Generator.new(self).to_xml end