Allow examples to pass a description as a block.

This commit is contained in:
Chris Eppstein 2010-03-28 01:49:00 -07:00
parent a142306d1b
commit 03f973468f

View File

@ -1,5 +1,7 @@
%h1= @item[:title] %h1= @item[:title]
= yield
%table#example{:cellspacing=>"0", :cellpadding=>"0", :border=>"0"} %table#example{:cellspacing=>"0", :cellpadding=>"0", :border=>"0"}
%tr.source %tr.source
%th HTML %th HTML