summaryrefslogtreecommitdiff
path: root/lib/English.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/English.rb')
-rw-r--r--lib/English.rb33
1 files changed, 32 insertions, 1 deletions
diff --git a/lib/English.rb b/lib/English.rb
index 44baf1778c..b9e7d9cbf7 100644
--- a/lib/English.rb
+++ b/lib/English.rb
@@ -15,7 +15,38 @@
# $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 $!