Method: Kwaff::Node#to_xml

Defined in:
lib/kwaff/node.rb

#to_xml(toppings = {}) ⇒ Object



21
22
23
24
# File 'lib/kwaff/node.rb', line 21

def to_xml(toppings={})
   translator = XmlTranslator.new(toppings)
   return translator ? translator.translate(self) : nil
end