ruby-changes:26983
From: zzak <ko1@a...>
Date: Mon, 4 Feb 2013 04:21:49 +0900 (JST)
Subject: [ruby-changes:26983] zzak:r39035 (trunk): * lib/English.rb: Add English module for RDoc to parse, then
zzak 2013-02-04 04:21:37 +0900 (Mon, 04 Feb 2013) New Revision: 39035 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39035 Log: * lib/English.rb: Add English module for RDoc to parse, then remove_const to avoid confusion. Include full list of aliases and their associated global variable. Modified files: trunk/ChangeLog trunk/lib/English.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 39034) +++ ChangeLog (revision 39035) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Feb 4 04:20:00 2013 Zachary Scott <zachary@z...> + + * lib/English.rb: Add English module for RDoc to parse, then + remove_const to avoid confusion. Include full list of aliases and + their associated global variable. + Mon Feb 4 02:40:00 2013 Zachary Scott <zachary@z...> * lib/yaml.rb (YAML::EngineManager): Documentation for #yamler and Index: lib/English.rb =================================================================== --- lib/English.rb (revision 39034) +++ lib/English.rb (revision 39035) @@ -15,7 +15,38 @@ https://github.com/ruby/ruby/blob/trunk/lib/English.rb#L15 # $OUTPUT_FIELD_SEPARATOR = ' -- ' # "waterbuffalo" =~ /buff/ # print $LOADED_FEATURES, $POSTMATCH, $PID, "\n" - +# +# Below is a full list of descriptive aliases and their associated global +# variable: +# +# $ERROR_INFO:: $! +# $ERROR_POSITION:: $@ +# $FS:: $; +# $FIELD_SEPARATOR:: $; +# $OFS:: $, +# $OUTPUT_FIELD_SEPARATOR:: $, +# $RS:: $/ +# $INPUT_RECORD_SEPARATOR:: $/ +# $ORS:: $\ +# $OUTPUT_RECORD_SEPARATOR:: $\ +# $INPUT_LINE_NUMBER:: $. +# $NR:: $. +# $LAST_READ_LINE:: $_ +# $DEFAULT_OUTPUT:: $> +# $DEFAULT_INPUT:: $< +# $PID:: $$ +# $PROCESS_ID:: $$ +# $CHILD_STATUS:: $? +# $LAST_MATCH_INFO:: $~ +# $IGNORECASE:: $= +# $ARGV:: $* +# $MATCH:: $& +# $PREMATCH:: $` +# $POSTMATCH:: $' +# $LAST_PAREN_MATCH:: $+ +# +module English; end +Object.send(:remove_const, :English) # The exception object passed to +raise+. alias $ERROR_INFO $! -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/