I have never seen global variables used in any Ruby code. I understand that their use is unsatisfying in languages, but they seem to be useless in Ruby. Can anyone point to properly designed code that uses them?
If I am right and they are redundant / historical, why are they stored in 1.9?
To be clear, I do not mean the variables that Ruby sets up for you as $"well $stdin. I mean use in one native code.
noodl source
share