Method: XMLCodec::XMLTextElement#create_xml
- Defined in:
- lib/subelements.rb
#create_xml(parent) ⇒ Object
Creates the XML for the element by using add_text on the value.
19 20 21 |
# File 'lib/subelements.rb', line 19 def create_xml(parent) parent << Nokogiri::XML::Text.new(@value, parent) end |