From: dblack@... Date: 2006-06-23T21:13:26+09:00 Subject: Re: Class#name= Hi -- On Fri, 23 Jun 2006, Pete wrote: > I guess it's because constants are _constant_ so they can not be re-assigned $ ruby -e 'A=1; A=2; puts A' -e:1: warning: already initialized constant A 2 :-) The original example didn't involve constant re-assignment, though, just assignment of two constants to the same object. David -- David A. Black (dblack@wobblini.net) Ruby Power and Light, LLC (http://www.rubypowerandlight.com) See what the readers are saying about "Ruby for Rails"! http://www.rubypowerandlight.com/quotes