summaryrefslogtreecommitdiff
path: root/doc/globals.rdoc
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-14 01:01:20 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-14 01:01:20 +0000
commit2e3b394dcac2d564beaca74d33fae7c275015e68 (patch)
tree6bbf1b2b97f9f6f462c4f5508f28c3aa7379a3aa /doc/globals.rdoc
parent2f7ca893a35abcde7e994c582055bd672c459058 (diff)
* doc/globals.rdoc: $? is thread-local
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/globals.rdoc')
-rw-r--r--doc/globals.rdoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/globals.rdoc b/doc/globals.rdoc
index 060764f..06355b1 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