Method: Kernel#global_variables
- Defined in:
- eval.c
#global_variables ⇒ Array
Returns an array of the names of global variables.
global_variables.grep /std/ #=> [:$stdin, :$stdout, :$stderr]
2000 2001 2002 2003 2004 |
# File 'eval.c', line 2000
static VALUE
f_global_variables(VALUE _)
{
return rb_f_global_variables();
}
|