1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (Init_load): make $LOADED_FEATURES built-in. [ruby-dev:23299]

* ruby.c (ruby_prog_init): make $PROGRAM_NAME built-in.
* lib/English.rb: remove $LOADED_FEATURES and $PROGRAM_NAME.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2004-04-02 02:36:48 +00:00
parent b7552a5535
commit 6dcbfbc525
4 changed files with 11 additions and 9 deletions

View file

@ -24,9 +24,6 @@ alias $ERROR_INFO $!
# exception. <tt>See Kernel.caller</tt> for details. Thread local.
alias $ERROR_POSITION $@
# An array containing the filenames of modules loaded by +require+.
alias $LOADED_FEATURES $"
# The default separator pattern used by <tt>String.split</tt>. May be
# set from the command line using the <tt>-F</tt> flag.
alias $FS $;
@ -130,12 +127,6 @@ alias $LAST_MATCH_INFO $~
# string hash values will be case insensitive. Deprecated
alias $IGNORECASE $=
# The name of the top-level Ruby program being executed. Typically
# this will be the program's filename. On some operating systems,
# assigning to this variable will change the name of the process
# reported (for example) by the <tt>ps(1)</tt> command.
alias $PROGRAM_NAME $0
# An array of strings containing the command-line
# options from the invocation of the program. Options
# used by the Ruby interpreter will have been