Var
The HTML <var>
tag, implemented in Ruby.
Parameters
This component accepts all the canonical HTML global attributes like id
or class
.
text - optional
If given will render the text within the var tags
Examples
Example 1: Yield a given block
returns
Example 2: Render options[:text] param
returns
Last updated