From: Yukihiro Matsumoto Date: 2005-06-29T00:32:20+09:00 Subject: Re: yield does not take a block Hi, In message "Re: yield does not take a block" on Tue, 28 Jun 2005 17:37:06 +0900, Daniel Brockman writes: |Under ruby 1.9.0 (2005-06-23) [i386-linux], irb 0.9.5(05/04/13), |these forms are not permitted: | | yield { .. } | yield &.. | |But these are okay: | | Proc.new.call { .. } | Proc.new.call &.. | |This is an oversight, right? yield is a keyword to pass a value (and control) to the block attached to the method. I feel strange when I see yield passes a block to an outer block. matz.