I haven't seen this behavior with tap and HAML. For me, it works as you expect: it doesn't output the tapped variable.
Are you sure you used a '-' rather than a '='? :brad On Thu, Mar 17, 2011 at 5:51 AM, Szymon Nowak <szi...@gmail.com> wrote: > I know, but in ERB I prefer using #tap to scope local variable - this way > it's only available inside the block where it's needed and not in the whole > view. Usually the code can be simply refactored into a helper method, but > sometimes it was useful. > > Thanks, > Szymon > > -- > 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 > haml+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > -- Bradley Grzesiak co-founder, bendyworks llc http://bendyworks.com/ -- 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 haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.