caption

caption(align = {})
Instance Public methods

Generate a Table Caption element as a string.

align 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.

The body of the element is provided by the passed-in no-argument block.

caption("left") { "Capital Cities" }
  # => <CAPTION ALIGN=\"left\">Capital Cities</CAPTION>
doc_ruby_on_rails
2015-03-31 21:23:56
Comments
Leave a Comment

Please login to continue.