>>>>> "M" == MikkelFJ  <mikkelfj-anti-spam / bigfoot.com> writes:

M> := assigns to local block scope,

 := assign to a variable which is always local to the block, even if a
 variable with the same name exist in an outer block. For example

   b = 12
   1.times { b := 2 }

 `b := 2' will create a new block variable which shadow the previous
 variable  `b' 

M> = assigns to outside the local block scope.

  = has the same meaning than actually, if a previous variable exist ruby
  use this variable otherwise it create a variable local to the block

M> What happens with nested scopes.

 same


Guy Decoux