method
tag
v1.0.0 -
Show latest stable
- Class:
ActionView::Helpers::TagHelper
tag(name, options = nil, open = false)public
Examples:
- tag("br") => <br />
- tag("input", { "type" => "text"}) => <input type="text" />
tag(name, options = nil, open = false)Examples: