From: Vadim Nasardinov Date: 2004-03-25T01:12:40+09:00 Subject: Re: Ruby's module search path On Tuesday 23 March 2004 23:50, Mehr, Assaph (Assaph) wrote: > X-Mail-Count: 95687 > Message-Id: <338366A6D2E2CA4C9DAEAE652E12A1DE01115DD3@au3010avexu1.global.avaya.com> > > def which(libname) > $:.each { |d| > f = File.join(d, libname) > p f if File.exists? f > f += ".rb" > p f if File.exists? f > } > nil > end ... > X-Mail-Count: 95698 > Message-Id: <338366A6D2E2CA4C9DAEAE652E12A1DE01115DE2@au3010avexu1.global.avaya.com> > > > From the output, I'm guessing $" is the list of requires that have > > been executed so far? > > Correct. Run your own code on 'english' :-) $" is aliased to $LOADED_FEATURES, but the $: variable does not seem to have an 'English' alias: http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/English.rb?rev=1.4 What's up with that?