--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Adds the class to all matched elements.
- !ruby/struct:SM::Flow::VERB 
  body: "  (doc/&quot;p&quot;).add_class(&quot;bacon&quot;)\n"
- !ruby/struct:SM::Flow::P 
  body: Now all paragraphs will have class=&quot;bacon&quot;.
full_name: Hpricot::Elements#add_class
is_singleton: false
name: add_class
params: (class_name)
visibility: public
