From: sean liu Date: 2007-08-14T17:03:05+09:00 Subject: what is "dynamic constant assignment" ------=_Part_21159_17560318.1187078590545 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, all today i defined a class like this: class C AB = 10 def self.set(value) AB = value end end then i got this error: SyntaxError: compile error (irb):10: dynamic constant assignment. Constants can be changed after initialization, but what does this error mean? Any explanations will be appreciated. ------=_Part_21159_17560318.1187078590545--