Given an helper like this one
def helper_method(name, &block)
result = block_given? ? capture(&block)
...
result
end
And this HAML view
= raw helper_method do
.content
some html content
result is nil when used with raw. why?
I know how to solve this, there is many way to avoid the situation but what I want to know is why I'm loosing the block?