Special Constants in Ruby
__FILE__
dir
$0 and $PROGRAM_NAME
$0
$PROGRAM_NAME
$$
etc
ARGV or
STDIN
STDOUT
STDERR
$stderr
$stdout
$stdin
ENV
Send Feedback Cancel