On 4/30/06, Charlie <peckcharlie / yahoo.com> wrote:> X = 20> X = 10> puts(X)> 10> X.freeze> X = 30> puts(X)> 30
Variables -- and by implication, constants -- aren't themselvesobjects. You're not freezing X. You're calling #freeze on the objectreferenced by X, essentially 10.freeze.
Honestly, it's not worth panicking over.
-austin--Austin Ziegler * halostatue / gmail.com               * Alternate: austin / halostatue.ca