Re: ERb syntax

Liquid
Mon, 24 Oct 2005 23:58:17 -0000

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