Dave Thomas writes: > Clemens Hintze <clemens.hintze / alcatel.de> writes: > ... > I _could_, but why is this different to saying that they're not > consumed by yield: > > def iter > yield 1 > yield 2 > end > > is really no different to > > def iter > proc.call > proc.call > end > Ahem! Internally there is a difference! But because we will take it from the user's point-of-view there is no difference ;-) > Or am I missing something here? No! But perhaps it is my non-native speaker feeling :-} I would describe 'yield' as command to execute a given block. Three 'yield's would mean for me, execute a given block three times. Furthermore the result of 'yield' is the result of the block! But I would, however, describe 'proc' as *taking* a block and convert it into a Proc instance. So of I have taken and/or converted the block where is it now? So three 'proc's would try to convert three blocks for me. The result of a 'proc' would be the block converted to a Proc instance. I admit perhaps it is a non-issue. Probably it's only me, who can fall into that trap! :-/ ... > > Thanks again. > > > Dave > Thank you, \cle