Rp
Last updated
Was this helpful?
The HTML <rp> tag, implemented in Ruby.
This component can take various optional configuration params and either yield content or display what gets passed to the text configuration param.
Expects a string which will be displayed as the content inside the <rp> tag.
This component accepts all the canonical HTML global attributes like id or class.
rp id: "foo", class: "bar" do
plain 'Hello World' # optional content
endreturns
<rp id="foo" class="bar">
Hello World
</rp>returns
Last updated
Was this helpful?
Was this helpful?
rp id: "foo", class: "bar", text: 'Hello World'<rp id="foo" class="bar">
Hello World
</rp>