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