method

tag

tag(name, options = nil, open = false)
public

Examples:

  • tag("br") => <br />
  • tag("input", { "type" => "text"}) => <input type="text" />