Robert Klemme wrote:

> 
> Two things come to mind:
> 
>  - AFAIR there was a discussion about this some time ago here
Thanks, I'll have a look.

>  - this issue might be related to block scoping rules, currently you can
> introduce a local in a block but AFAIK begin-end does not introduce a
> separate scope (note also, that block scoping will change in Ruby 2)
AFAICS, the changes mean this difference goes away, only block 
parameters are scoped to the block.

Sam