what does dash mean in ruby on rails html scriptlet ?
        Posted  
        
            by Nikita Rybak
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Nikita Rybak
        
        
        
        Published on 2010-06-10T19:51:54Z
        Indexed on 
            2010/06/10
            19:52 UTC
        
        
        Read the original article
        Hit count: 383
        
In the web I've seen examples both with
<% if @showIt -%>
  some html content
<% end -%>
and without
<% if @showIt %>
  some html content
<% end %>
dash. Both versions work very well. So, what difference does it make?
Thanks!
© Stack Overflow or respective owner