Method: Tiny::HTML#fieldset

Defined in:
lib/tiny/html.rb

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

Shortcut for html_tag(:fieldset)

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:



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

tag_def 'fieldset'