haml  

[haml] Re: Ruby code indention

Nathan Weizenbaum
Sun, 13 Jul 2008 09:54:58 -0700

%ul
  - @erroneous_entities.each do |erroneous_entity|
    - erroneous_entity.errors.each do |attr, error_message|
      %li= error_message


No "- end"s necessary. I should probably just make "- end" an error.

Daniel Vartanov wrote:
> Sorry, I forgot:
>
> haml 2.0.1)
> ruby 1.8.6
>
> is it a bug?
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to haml@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---