Stephen White <spwhite / chariot.net.au> writes:


[...]

> Eg:
> 
>   i = 123
>   j = 10
>   (1..10).each {|i|
>     # accessing j at this point would be an error

Impossibility to use anything from the outer scope??

>     j = i * 5
>     k = i * 10
>   }
>   p [i, j, k]                  -> [123, 10, accessing k is an error]




-- 
Guillaume Cottenceau - http://mandrakesoft.com/~gc/