From: Kent Dahl Date: 2004-04-30T23:09:03+09:00 Subject: Re: File.expand_path(__FILE__) Robert Klemme wrote: > Where would you expect it to reside? Maybe the best solution is > > $0 : path as used for invocation > __FILE__: abs path to current file > > Then I agree. :-) Any objections? Does this break existing code? Wouldn't this break the idiom of using if __FILE__ == $0 then #... end to make a file both require-able and executable? I know I use it frequently. -- (\[ Kent Dahl ]/)_ _~_ _____[ http://www.pvv.org/~kentda/ ]_____/~ ))\_student_/(( \__d L b__/ Master of Science in Technology ) ( \__\_�|�_/__/ ) _) Industrial economics and technology management ( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)