Method: Tiny::HTML#figcaption

Defined in:
lib/tiny/html.rb

#figcaption(attrs_or_content = {}, attrs = nil) { ... } ⇒ String

Shortcut for html_tag(:figcaption)

Parameters:

  • attrs_or_content (Hash, String) (defaults to: {})

    Tag’s attributes or content.

  • attrs (Hash) (defaults to: nil)

    Tag’s attributes if content string passed.

Yields:

  • Content block.

Returns:

See Also:



61
# File 'lib/tiny/html.rb', line 61

tag_def 'figcaption'