Declare a constant
Can change it
Why?
Because change is the only constant
/thread
it's designed for womyn
>>60935343
It issues a warning if you change it
>>60935368
>>60935343
constant is a misnamed keyword in Ruby, it of course really not constant, its a variable that is more similar to static variable in that it can be accessed outside of its scope whereas normal variables cannot.
Ruby does have a constant-type variable which is declared with the freeze keyword.
>>60936111
Thanks, wasn't expecting an actually helpful reply. Papa bless.
>>60935343
Not to be a semantic asshole, but the reason is right there in the name.