Hi,
In message "[ruby-talk:12613] Re: FEATURE REQUEST: 'my' local variables"
on 01/03/14, Leo Razoumov <see_signature / 127.0.0.1> writes:
|How to read the following?
|{
| e = 1
| f := 2
| f = 3 #possible typo?
|}
The first declarative assignment make `f` local to the block, so that
consequent assignment and reference do not affect its status.
|I think that the declarative construct {<a,b> ...} is easier to understand and
|harder to misuse.
Probably. I'd like to consider every possibility.
matz.