update docs
[catagits/HTML-Zoom.git] / lib / HTML / Zoom / FilterBuilder.pm
index bbe7545..3e48767 100644 (file)
@@ -463,7 +463,7 @@ Sets an attribute of a given name to a given value for all matching selections.
       ->select('p')
       ->set_attribute(class=>'paragraph')
       ->select('div')
-      ->set_attribute({name=>'class', value=>'divider'});
+      ->set_attribute({class=>'paragraph', name=>'divider'});
 
 Overrides existing values, if such exist.  When multiple L</set_attribute>
 calls are made against the same or overlapping selection sets, the final