From: James Edward Gray II Date: 2006-05-02T11:38:05+09:00 Subject: Re: from block to code (also: how to get the bindings of a block) On May 1, 2006, at 8:25 PM, Ross Bamford wrote: > shopping_list "banana milkshake" do > milk = 1 > bananas = 2 > shopping_list end That's the best variation of the binding trick, in my opinion. > (Btw another problem with this approach is that it plays havoc with > vim-ruby's auto indentation :( ) Yeah, all the warnings (code smells) are there. If I went ahead with a solution like this, I would feel like I was being irresponsible. I think it's time to find a new approach. James Edward Gray II