Method: Nokogiri::XML::Builder#text

Defined in:
lib/nokogiri/xml/builder.rb

#text(string) ⇒ Object

Create a Text Node with content of string



339
340
341
# File 'lib/nokogiri/xml/builder.rb', line 339

def text(string)
  insert(@doc.create_text_node(string))
end