07-18-2023, 05:40 PM
What's the point of using '-' (minus sign) at the end of a ERb sequence?
Example:
<% 3.times do -%>
FooBar<br />
<% end -%>
Sometext
Regardless of whether I use **'-'** or not, a browser renders the same output.
Thanks, Aplha.
Example:
<% 3.times do -%>
FooBar<br />
<% end -%>
Sometext
Regardless of whether I use **'-'** or not, a browser renders the same output.
Thanks, Aplha.