D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
REXML
/
Element
/
Filename :
add_attributes-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Add multiple attributes to this element. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "hash:" body: is either a hash, or array of arrays type: :NOTE - !ruby/struct:SM::Flow::VERB body: " el.add_attributes( {"name1"=>"value1", "name2"=>"value2"} )\n el.add_attributes( [ ["name1","value1"], ["name2"=>"value2"] ] )\n" full_name: REXML::Element#add_attributes is_singleton: false name: add_attributes params: (hash) visibility: public