Yes, if you're using Ruby 1.9, the new Hash syntax can be expected to work for attributes. At the moment some of the optimizations we use for static attributes with the old hash syntax won't work, but that won't produce a functionality difference.
On Thu, Jun 11, 2009 at 11:16 AM, hydrow <[email protected]> wrote: > > i tried to use > attribute: 'value' > instead of > :attribute => 'value' > > it seems to work > is this a good idea to do like this in my future HAML files? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
