in ruby you can do conditional block like so
block do |n|
puts n
end if foo == bar
which would translate into erb as
<% block do |n| %>
<%= n %>
<% end if foo == bar %>
is there a way to achieve this in haml other than wrapping the block in a condition?