- 论坛徽章:
- 0
|
其他预定义常量还包括:
TRUE The typical true value.
FALSE The false itself.
NIL The nil itself.
STDIN The standard input. The default value for $stdin.
STDOUT The standard output. The default value for $stdout.
STDERR The standard error output. The default value for $stderr.
ENV The hash contains current environment variables.
ARGF The alias to the $<.
ARGV The alias to the $*.
DATA The file object of the script, pointing just after __END__.
RUBY_VERSION The ruby version string (VERSION was deprecated).
RUBY_RELEASE_DATE The release date string.
RUBY_PLATFORM The platform identifier. |
|