Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/caption-i.yaml |
--- !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("left") { "Capital Cities" }\n # => <CAPTION ALIGN=\\"left\\">Capital Cities</CAPTION>\n"
full_name: CGI::HtmlExtension#caption
is_singleton: false
name: caption
params: (align = nil) {|| ...}
visibility: public