diff --git a/ChangeLog b/ChangeLog index a67eaf3a86..a3b2dea461 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Jun 1 04:52:47 2014 Zachary Scott + + * lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620] + Patch submitted by @leafac in https://github.com/ruby/ruby/pull/620 + * doc/globals.rdoc: Added $LOADED_FEATURES to list + Sat May 31 22:30:14 2014 Tanaka Akira * test/lib/leakchecker.rb: Leak checker extracted from diff --git a/doc/globals.rdoc b/doc/globals.rdoc index f82b6f8796..3bc7e05623 100644 --- a/doc/globals.rdoc +++ b/doc/globals.rdoc @@ -31,6 +31,7 @@ $DEBUG:: The debug flag, which is set by the -d switch. Enabling debug backtrace). Setting this to a true value enables debug output as if -d were given on the command line. Setting this to a false value disables debug output. +$LOADED_FEATURES:: The alias to the $". $FILENAME:: Current input file from $<. Same as $<.filename. $LOAD_PATH:: The alias to the $:. $stderr:: The current standard error output. diff --git a/lib/English.rb b/lib/English.rb index 32769fb18b..838e5afc74 100644 --- a/lib/English.rb +++ b/lib/English.rb @@ -6,7 +6,7 @@ # # $\ = ' -- ' # "waterbuffalo" =~ /buff/ -# print $", $', $$, "\n" +# print $', $$, "\n" # # With English: # @@ -14,7 +14,7 @@ # # $OUTPUT_FIELD_SEPARATOR = ' -- ' # "waterbuffalo" =~ /buff/ -# print $LOADED_FEATURES, $POSTMATCH, $PID, "\n" +# print $POSTMATCH, $PID, "\n" # # Below is a full list of descriptive aliases and their associated global # variable: