U:RDoc::AnyMethod[iI" text=:EFI"REXML::Element#text=;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"ASets the first Text child of this object. See text() for a ;TI"$discussion about Text children.;To:RDoc::Markup::BlankLineo; ; [ I"CIf a Text child already exists, the child is replaced by this ;TI"Fcontent. This means that Text content can be deleted by calling ;TI"Cthis method with a nil argument. In this case, the next Text ;TI"Echild becomes the first Text child. In no case is the order of ;TI"any siblings disturbed.;To:RDoc::Markup::List: @type: NOTE: @items[o:RDoc::Markup::ListItem: @label[I" text;T; [o; ; [ I";If a String, a new Text child is created and added to ;TI"Ethis Element as the first Text child. If Text, the text is set ;TI"Gas the first Child element. If nil, then any existing first Text ;TI"child is removed.;To;;[I" Returns;T; [o; ; [I"this Element.;To:RDoc::Markup::Verbatim; [ I"&doc = Document.new '' ;TI"7doc.root.text = 'Sean' #-> 'Sean' ;TI":doc.root.text = 'Elliott' #-> 'Elliott' ;TI">doc.root.add_element 'c' #-> 'Elliott' ;TI">doc.root.text = 'Russell' #-> 'Russell' ;TI"6doc.root.text = nil #-> '';T: @format0: @fileI"lib/rexml/element.rb;T:0@omit_headings_from_table_of_contents_below000[I" ( text );T@2FI" Element;TcRDoc::NormalClass00