lib/renderers/content_rendering.rb in garterbelt-0.0.9 vs lib/renderers/content_rendering.rb in garterbelt-0.1.0

- old
+ new

@@ -15,21 +15,21 @@ foot output end def head - view.level += 1 + view._level += 1 end def foot - view.level -= 1 + view._level -= 1 end def render_content if content.is_a?(Proc) content.call else - view.buffer << Text.new(:view => view, :content => content) if content + view._buffer << Text.new(:view => view, :content => content) if content end view.render_buffer end def raise_unless_block_content \ No newline at end of file