A pseudo-global in Ruby is a variable that is in the local scope, even though its name starts with a $ sign.
A pseudo global in ruby is a variable that refers to a value in the current scope, but whose name starts with a $
. All pseudo globals are references to parts of the primary pseudo global $~
. Pseudo globals look like global variables but are in fact local variables.