X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/REXML/Element
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
REXML
/
Element
/
ðŸ“
..
📄
__to_xpath_helper-i.yaml
(201 B)
📄
add_attribute-i.yaml
(1.3 KB)
📄
add_attributes-i.yaml
(686 B)
📄
add_element-i.yaml
(1.01 KB)
📄
add_namespace-i.yaml
(983 B)
📄
add_text-i.yaml
(1 KB)
📄
attribute-i.yaml
(252 B)
📄
cdatas-i.yaml
(256 B)
📄
cdesc-Element.yaml
(3.23 KB)
📄
clone-i.yaml
(453 B)
📄
comments-i.yaml
(262 B)
📄
delete_attribute-i.yaml
(1.07 KB)
📄
delete_element-i.yaml
(935 B)
📄
delete_namespace-i.yaml
(737 B)
📄
document-i.yaml
(324 B)
📄
each_element-i.yaml
(290 B)
📄
each_element_with_attribute-i.yaml
(1.38 KB)
📄
each_element_with_text-i.yaml
(1.28 KB)
📄
each_with_something-i.yaml
(369 B)
📄
get_elements-i.yaml
(601 B)
📄
get_text-i.yaml
(673 B)
📄
has_attributes%3f-i.yaml
(312 B)
📄
has_elements%3f-i.yaml
(601 B)
📄
has_text%3f-i.yaml
(287 B)
📄
ignore_whitespace_nodes-i.yaml
(208 B)
📄
inspect-i.yaml
(176 B)
📄
instructions-i.yaml
(274 B)
📄
namespace-i.yaml
(1.04 KB)
📄
namespaces-i.yaml
(182 B)
📄
new-c.yaml
(1.96 KB)
📄
next_element-i.yaml
(552 B)
📄
node_type-i.yaml
(180 B)
📄
prefixes-i.yaml
(527 B)
📄
previous_element-i.yaml
(575 B)
📄
raw-i.yaml
(512 B)
📄
root-i.yaml
(170 B)
📄
root_node-i.yaml
(1.24 KB)
📄
text%3d-i.yaml
(1.47 KB)
📄
text-i.yaml
(1.03 KB)
📄
texts-i.yaml
(253 B)
📄
whitespace-i.yaml
(921 B)
📄
write-i.yaml
(1.74 KB)
📄
xpath-i.yaml
(172 B)
Editing: delete_attribute-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Removes an attribute - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "key:" body: either an Attribute or a String. In either case, the attribute is found by matching the attribute name to the argument, and then removed. If no attribute is found, no action is taken. - !ruby/struct:SM::Flow::LI label: "Returns:" body: the attribute removed, or nil if this Element did not contain a matching attribute type: :NOTE - !ruby/struct:SM::Flow::VERB body: " e = Element.new('E')\n e.add_attribute( 'name', 'Sean' ) #-> <E name='Sean'/>\n r = e.add_attribute( 'sur:name', 'Russell' ) #-> <E name='Sean' sur:name='Russell'/>\n e.delete_attribute( 'name' ) #-> <E sur:name='Russell'/>\n e.delete_attribute( r ) #-> <E/>\n" full_name: REXML::Element#delete_attribute is_singleton: false name: delete_attribute params: (key) visibility: public
Upload File
Create Folder