Method: Nokogiri::XML::Builder#<<
- Defined in:
- lib/nokogiri/xml/builder.rb
#<<(string) ⇒ Object
Append the given raw XML string
to the document
390 391 392 |
# File 'lib/nokogiri/xml/builder.rb', line 390 def <<(string) @doc.fragment(string).children.each { |x| insert(x) } end |