Improve documentation of $LOAD_PATH
This commit is contained in:
parent
0a5463f764
commit
b1ee7148f8
@ -24,11 +24,11 @@ $*:: The same as ARGV.
|
|||||||
$$:: The process number of the Ruby running this script.
|
$$:: The process number of the Ruby running this script.
|
||||||
$?:: The status of the last executed child process. This value is
|
$?:: The status of the last executed child process. This value is
|
||||||
thread-local.
|
thread-local.
|
||||||
$LOAD_PATH:: Load path for scripts and binary modules by load or require.
|
$LOAD_PATH:: Load path for searching Ruby scripts and extension libraries used
|
||||||
Aliased to $: and $-I. Has a singleton method
|
by Kernel#load and Kernel#require. Aliased to $: and $-I.
|
||||||
$LOAD_PATH.resolve_feature_path(feature) that returns
|
Has a singleton method $LOAD_PATH.resolve_feature_path(feature)
|
||||||
[:rb or :so, path], which resolves the feature to the path the
|
that returns [:rb or :so, path], which resolves the feature to
|
||||||
original Kernel#require method would load.
|
the path the original Kernel#require method would load.
|
||||||
$LOADED_FEATURES:: The array contains the module names loaded by require.
|
$LOADED_FEATURES:: The array contains the module names loaded by require.
|
||||||
Aliased to $".
|
Aliased to $".
|
||||||
$DEBUG:: The debug flag, which is set by the -d switch. Enabling debug
|
$DEBUG:: The debug flag, which is set by the -d switch. Enabling debug
|
||||||
|
Loading…
x
Reference in New Issue
Block a user