freeze - I can Modify CONSTANTS in Ruby
March 25th 2012STOP THE PRESSES!
I can modify a CONSTANT!
Whoa, that’s a bit scary. I’ve been coding in Ruby for 5 or 6 years now. I probably knew this before and forgot. After all, when I was first learning Ruby, I read Programming Ruby and this concept is likely in there (but i’m too lazy to confirm it right now). I know I’m making myself look like an idiot for going this long without fully internalizing (or forgetting) this, but oh well. I’m writing this for my own benefit. I won’t forget this concept after spending a while explaining this important Ruby concept…
