Rt
Parameters
text (optional)
HMTL attributes (optional)
Examples
Example 1: Yield a given block
rt id: "foo", class: "bar" do
plain 'Hello World' # optional content
end<rt id="foo" class="bar">
Hello World
</rt>Example 2: Render options[:text] param
Last updated
Was this helpful?