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

block_params: ""
comment: 
- !ruby/struct:SM::Flow::P 
  body: Generate a Table Caption element as a string.
- !ruby/struct:SM::Flow::P 
  body: <tt>align</tt> can be a string, giving the alignment of the caption (one of top, bottom, left, or right). It can be a hash of all the attributes of the element. Or it can be omitted.
- !ruby/struct:SM::Flow::P 
  body: The body of the element is provided by the passed-in no-argument block.
- !ruby/struct:SM::Flow::VERB 
  body: "  caption(&quot;left&quot;) { &quot;Capital Cities&quot; }\n    # =&gt; &lt;CAPTION ALIGN=\\&quot;left\\&quot;&gt;Capital Cities&lt;/CAPTION&gt;\n"
full_name: CGI::HtmlExtension#caption
is_singleton: false
name: caption
params: (align = nil) {|| ...}
visibility: public
