Hi,
In message "[ruby-talk:00877] local / dynamic variables"
on 99/10/29, ts <decoux / moulon.inra.fr> writes:
| This is probably a stupid question, but why in a block a variable is not
| always dynamic when this variable is defined between | | ?
Just because I don't want variable shadowing in the language.
In Ruby, the single identifier works consistently, throughout the
variable scope (i.e class/module block, method body).
matz.