PHP 8.2.31
Preview: text%3d-i.yaml Size: 1.47 KB
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Element/text%3d-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Sets the first Text child of this object. See text() for a discussion about Text children.
- !ruby/struct:SM::Flow::P 
  body: If a Text child already exists, the child is replaced by this content. This means that Text content can be deleted by calling this method with a nil argument. In this case, the next Text child becomes the first Text child. In no case is the order of any siblings disturbed.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "text:"
    body: If a String, a new Text child is created and added to this Element as the first Text child. If Text, the text is set as the first Child element. If nil, then any existing first Text child is removed.
  - !ruby/struct:SM::Flow::LI 
    label: "Returns:"
    body: this Element.
  type: :NOTE
- !ruby/struct:SM::Flow::VERB 
  body: " doc = Document.new '<a><b/></a>'\n doc.root.text = 'Sean'      #-> '<a><b/>Sean</a>'\n doc.root.text = 'Elliott'   #-> '<a><b/>Elliott</a>'\n doc.root.add_element 'c'    #-> '<a><b/>Elliott<c/></a>'\n doc.root.text = 'Russell'   #-> '<a><b/>Russell<c/></a>'\n doc.root.text = nil         #-> '<a><b/><c/></a>'\n"
full_name: REXML::Element#text=
is_singleton: false
name: text=
params: ( text )
visibility: public

Directory Contents

Dirs: 0 × Files: 43

Name Size Perms Modified Actions
1.30 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
686 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.01 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
983 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.00 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
252 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
256 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
3.23 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
453 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
262 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.07 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
935 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
737 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
324 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
290 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.38 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.28 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
369 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
601 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
673 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
312 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
601 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
287 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
208 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
176 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
274 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.04 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
182 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.96 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
552 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
180 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
527 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
575 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
512 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
170 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.24 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.47 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.03 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
253 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
921 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.74 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
172 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
201 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).