What does it mean to add a hyphen to the closing tag of a ruby loop <% -%>
- by Lee
I'm a noob at this and can't figure out why the hyphen gets added to something like this:
<% if flash[:notice] -%
<%= flash[:notice] %
<% end -%
Not even sure if my jargon in the title of this question is accurate.