Var
Parameters
text - optional
Examples
Example 1: Yield a given block
var id: "foo", class: "bar" do
plain 'Simple text'
end<var id="foo" class="bar">
Simple text
</var>Example 2: Render options[:text] param
Last updated
Was this helpful?