From: Joel VanderWerf Date: 2011-05-02T01:40:15+09:00 Subject: Re: Why defining a constant in a method is not allowed but using self.class.const_set is allowed? On 04/30/2011 05:13 PM, Phillip Gawlowski wrote: > On Sun, May 1, 2011 at 1:48 AM, I�aki Baz Castillo wrote: >> >> Yes, I understand that redeining a constant is not "good" in any >> language, just wondering why Ruby, being so flexible, also behaves >> like others. > > It's called a "constant". What would you expect it to be? Ever > changing like like the wind, or steady and everlasting like the > mountains?* Ruby programs may operate *on* programs. One program's constant is another program's variable. For example: test code for a library that uses a constant...