From: Trans Date: 2008-10-14T23:53:56+09:00 Subject: [ruby-core:19331] Re: [Feature #643] __DIR__ On Oct 13, 3:08�pm, Ryan Davis wrote: > On Oct 13, 2008, at 11:27 , Thomas Sawyer wrote: > > > �__DIR__ > > > This will improve readability, remove the need for extra variables � > > to store this information, and at the very least, save us a good � > > many keystrokes. > > yes. > > I frequently need to do: > > � �File.dirname(File.dirname(__FILE__)) > > so I'd like > > � �__DIRDIR__ > > can we also have > > � �__DIRDIRDIR__ > > while you're in there? It's one thing to be sarcastic, it is another to be untruthful. If you are actually using File.dirname(File.dirname(__FILE__)) "frequently", then you need to rethink your design. But I know you are a better coder than that. So you're simply not being sincere, and thus not making a valid point. T.