method
add_attributes
add_attributes(hash)
public
Add multiple attributes to this element.
hash |
is either a hash, or array of arrays |
el.add_attributes( {"name1"=>"value1", "name2"=>"value2"} ) el.add_attributes( [ ["name1","value1"], ["name2"=>"value2"] ] )