From: itsme213 Date: 2004-12-07T07:17:33+09:00 Subject: Re: Freezing Variable Assignment "Eric Hodel" wrote > > "Austin Ziegler" wrote in message > >> a = Struct.new("Effable", :a, :b).new > >> a.a = "abcdef" > >> a.b = %w(a b c d e f) > >> a.freeze > No, the instance variables are not frozen, the instance 'a' of Effable > is. But 'a' is not an instance of anything. 'a' is a _variable_, it _refers_ to an instance of Effable. The variable is not the object.