Hi,
This is probably a stupid question, but why in a block a variable is not
always dynamic when this variable is defined between | | ?
i.e. :
a = [1]; i = 0; a.each {|i| p i } # i is a local variable in the block
# at end it erase the previous value of i
a = [1]; a.each {|i| p i } # i is a dynamic variable
Guy Decoux