method
add_attributes
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
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”] ] )