On Mon, 2006-10-09 at 13:44 -0500, why the lucky stiff wrote:
> Becomes:
> 
>   page.entries do
>     entries.each_day do |day, day_entries|
>       page.day_header
>       day_entries.each do |entry|
>         page.entry
>       end
>     end
>   end

So, calling the method with a block actually defines it (via
method_missing, I guess)?  Clever.

Using Markaby should also help to address the difficulties we've had
with HTML escaping.

-mental

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to