ERb syntax

Lee Pope
Mon, 24 Oct 2005 23:44:38 -0000

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