diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | doc/globals.rdoc | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Mar 14 10:01:12 2013 Eric Hodel <drbrain@segment7.net> + + * doc/globals.rdoc: $? is thread-local + Wed Mar 13 23:25:59 2013 Narihiro Nakamura <authornari@gmail.com> * gc.c: allow to tune growth of heap by environment variable diff --git a/doc/globals.rdoc b/doc/globals.rdoc index 060764f54e..06355b187a 100644 --- a/doc/globals.rdoc +++ b/doc/globals.rdoc @@ -22,7 +22,8 @@ $_:: The last input line of string by gets or readline. $0:: Contains the name of the script being executed. May be assignable. $*:: Command line arguments given for the script sans args. $$:: The process number of the Ruby running this script. -$?:: The status of the last executed child process. +$?:: The status of the last executed child process. This value is + thread-local. $::: Load path for scripts and binary modules by load or require. $":: The array contains the module names loaded by require. $DEBUG:: The debug flag, which is set by the -d switch. Enabling debug |