From: Florian Frank Date: 2003-07-09T06:28:29+09:00 Subject: Re: Accessing code blocks On 2003-07-09 06:05:42 +0900, Grzegorz Dostatni wrote: > Please help. Try this: def foo(&bar) bar end bar = foo { |x| x + 1 } bar.call 1 # => 2 -- 5) "I have challenged the entire quality assurance team to a Bat-Leth contest. They will not concern us again." -- Top 12 things likely to be overheard if you had a Klingon Programmer