From: Christian Neukirchen Date: 2006-05-02T18:37:53+09:00 Subject: Re: from block to code (also: how to get the bindings of a block) Ross Bamford writes: > shopping_list "english breakfast" do > tomatoes = 2, :green > sausages = 3 > eggs = 2, :big > bacon = 4 > the end > > shopping_list "banana milkshake" do > milk = 1 > bananas = 2 > the end Just toying around: recipe "english breakfast" do |take| take(2).green.tomatoes take(3).sausages take(2).big.eggs take(4).slices.of.bacon end > Ross Bamford - rosco@roscopeco.REMOVE.co.uk -- Christian Neukirchen http://chneukirchen.org