From: postmodern.mod3@... Date: 2014-01-23T03:05:03+00:00 Subject: [ruby-core:60009] [ruby-trunk - Feature #8098] Add __DIR__ to compliment __FILE__ Issue #8098 has been updated by Hal Brodigan. I concur with Charlie Somerville. It does seem asymetrical that there is a `__FILE__` constant, but no `__file__` method. ---------------------------------------- Feature #8098: Add __DIR__ to compliment __FILE__ https://bugs.ruby-lang.org/issues/8098#change-44531 * Author: Hal Brodigan * Status: Rejected * Priority: Normal * Assignee: * Category: core * Target version: ---------------------------------------- There should be a __DIR__ constant to compliment __FILE__. -- http://bugs.ruby-lang.org/