Re: ERb syntax

Alex Young
Tue, 25 Oct 2005 09:45:12 -0000

Is that documented anywhere?  If so, where?  I was hunting for it
recently, and couldn''t find it...

--
Alex

Liquid wrote:
> Hi Lee,
>
> It suppresses the following newline from your output. Stops the output from
> having extra blank lines in it.
>
> Cheers
>
> On 10/25/05, Lee Pope
<leepope-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>>Can anybody tell me what the closing erb tag in this expression means?
>>
>><%= @myobject -%>
>>
>>as opposed to
>>
>><%= @myobject %>
>>
>>?
>>
>>(Sorry if this is trivial, but I can''t find anything in the ERb
>>documentation, and those characters are hard to search the web on)
>>
>>Lee
>>
>>*********************************
>>
>>All that is gold does not glitter.
>>Not all those who wander are lost.
>>The old who are strong do not whither.
>>Deep roots are not touched by the frost.
>>-- J.R.R. Tolkein
>>
>>
>>_______________________________________________
>>Rails mailing list
>>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>>http://lists.rubyonrails.org/mailman/listinfo/rails
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------