From: Paul Brannan Date: 2001-09-19T00:49:04+09:00 Subject: [ruby-talk:21333] Re: const-correctness On Wed, 19 Sep 2001, Dave Thomas wrote: > In Ruby, constant is an attribute of the name, not the object. 'X' is > constant, so if you reassign to it, you get a warning. However, the > object the constant references is still capable of receiving messages > and changing its contents accordingly. > > Dave Ahhh, so to make a C analogy, Ruby constants are more like: char * const x; instead of: char const * x; Is this right? Paul