Articles related to global variables
Global Variables - Ruby - About.com
Global variables are not often used in Ruby, however, you should at least understand their usage should you ever encounter them.
Variables Declared in the Global Scope - Ruby - About.com
I declared a variable in the global scope, and now I can't access it. What's going on here?
Build In Global Variables - Ruby - About.com
Ruby defines a number of built in global variables you may find you need at one point.
There is one situation where a global variable becomes temporarily inaccessible and that is if you define a local variable having the same name. Here's an ...
Variable Scope (Delphi For Beginners) - About.com
Depending on where we declare a variable, the variable can be thought of as a true global variable accessible by any other code in the application, or a ...
While updating global variables is one way to pass information back to the code that called the function, this is not an ideal way of doing so. A much better ...
Everything You Need to Know About Variables - Ruby - About.com
There, you really only have global and local variables as well as values obtained via malloc (and pointed to with global or local pointer variables). The Ruby ...
Accessing Ruby Environment Variables - About.com
Using environment variables in Ruby. ... Introduction to Linux · $ENV environment variable · The Bash set Command · Global Variables · Introduction to Linux ...
Local Variables and Bindings - Ruby - About.com
If you were to prepend a symbol to any variable accesses such as the $ (dollar sign), Ruby would then go to the global variable binding to resolve that variable ...