[TIP] optional multi-pane layout

2008-08-28 Thread zimbatm
This is a nice little trick to defer some block execution in a multi-pane layout module Views def layout html do #... body do div.main { yield } div.right! @_right_pane if @_right_pane end end end def _right_pane(block) @_right_pane = block

Re: [TIP] optional multi-pane layout

2008-08-28 Thread John Beppu
That's pretty damned cool. Good technique! --beppu On Thu, Aug 28, 2008 at 3:46 AM, zimbatm [EMAIL PROTECTED] wrote: This is a nice little trick to defer some block execution in a multi-pane layout module Views def layout html do #... body do div.main { yield }

Camping::Apps returns!

2008-08-28 Thread Magnus Holm
Camping::Apps is back! I don't know the *exact* reason it was being removed, but now it's a monkey-patched array which at least doesn't leak memory when using together with the reloader (were there more problems with this?). I really think we need this, since there's no guaranty that only

Re: Camping::Apps returns!

2008-08-28 Thread zimbatm
Hi Magnus, If I remember well, I am the one who introduced AND removed Camping::Apps. I'm not sure anymore but I think it wasn't really used and that solutions never really satisfied me. Do you have any use for it ? Cheers, zimbatm ___ Camping-list