add_attributes(hash)
Instance Public methods
Add multiple attributes to this element.
- hash
-
is either a hash, or array of arrays
1 2 | el.add_attributes( { "name1" => "value1" , "name2" => "value2" } ) el.add_attributes( [ [ "name1" , "value1" ], [ "name2" => "value2" ] ] ) |
Please login to continue.