diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-31 19:54:55 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-31 19:54:55 +0000 |
commit | bcd25152a6352eb9952cf4620b2fe4c32fa6508d (patch) | |
tree | bfc1d1a0e232782955976d6de5b76826b3340353 | |
parent | 9529ed2c51d983e95f886c74a0520fa9ca2651eb (diff) | |
download | ruby-bcd25152a6352eb9952cf4620b2fe4c32fa6508d.tar.gz |
* 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
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/globals.rdoc | 1 | ||||
-rw-r--r-- | lib/English.rb | 4 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Sun Jun 1 04:52:47 2014 Zachary Scott <e@zzak.io> + + * 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 <akr@fsij.org> * 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: |