This is one of the reasons we added filters in the first place. At the moment, filters aren't able to access the instance variables of the view (and they'll never be able to access the local variables), but the same kind of thing would have to be done to allow them to access that as to allow ERb to do so.
- Nathan Jeffrey Hardy wrote: > On 8-Feb-07, at 1:45 PM, Hampton wrote: > >> Well, we *COULD* do the erb syntax. >> >> #tag >> fix the <%= thing.name %> boyyyeeee! >> > > I'm thinking the erb syntax is a good idea. Its function is obvious, > which I like. (Everybody knows how erb works). Erb also has the > advantage of being easier to implement; since you can just run the > pre-compiled template through erb, there's no need to write your own > parser. > > /Jeff > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
