From: ts Date: 2002-06-12T20:53:05+09:00 Subject: Re: Trick or Bug? >>>>> "N" == Nikodemus Siivola writes: N> As you know, receivers in ruby cannot change their class? No become, etc. N> Right? N> Wrong: no, not really : you make the confusion between a variable and an object. For example with a = b = 12 there are 2 variables and only one object, but with a = [1, 2] there are 1 variable and 3 objects N> #!/usr/bin/env ruby N> a = proc { a = 1 } N> puts "a is a #{a.class}" N> a.call N> puts "a is a #{a.class}" In your example, this is just that the variable make reference to another object. Guy Decoux