On 13/09/2005, at 10.15, Sune Foldager wrote:
>> • added recognition of <%% … %> and <%%= … %>
> ..and what does that do??
It escapes the interpolation.
So: erb <<<'<%%= puts :hello %>' gives:
<%= puts :hello %>
and: erb <<<'<%%= puts :hello %>'|erb gives:
hello
Useful when using an erb template to generate another erb template.