def yield_content(key, *args)
      content_blocks[key.to_sym].map do |content| 
        if respond_to?(:block_is_haml?) && block_is_haml?(content)
          capture_haml(*args, &content)
        else
          content.call(*args)
        end
      end.join
    end
def yield_content(key, *args)
      content_blocks[key.to_sym].map do |content| 
        if respond_to?(:block_is_haml?) && block_is_haml?(content)
          capture_haml(*args, &content)
        else
          content.call(*args)
        end
      end.join
    end
Render the captured blocks for a given key. For example:

     <head>
       <title>Example</title>
       <% yield_content :head %>
     </head>

 Would render everything you declared with <tt>content_for
 :head</tt> before closing the <tt><head></tt> tag.

 You can also pass values to the content blocks by passing them
 as arguments after the key:

     <% yield_content :head, 1, 2 %>

 Would pass <tt>1</tt> and <tt>2</tt> to all the blocks registered
 for <tt>:head</tt>.

 *NOTICE* that you call this without an <tt>=</tt> sign. IE,
 in a <tt><% %></tt> block, and not in a <tt><%= %></tt> block.