On this page
class · Ruby 4.0
Prism::GlobalVariableReadNode
Represents referencing a global variable.
$foo ^^^^
Class methods 2
Instance methods 10
Attributes
Read
The name of the global variable, which is a $ followed by an identifier. Alternatively, it can be one of the special global variables designated by a symbol.
Example
$foo # name `:$foo` $_Test # name `:$_Test`