Thomas Sawyer <redmine / ruby-lang.org> writes: > 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. If we don't want to add another toplevel constant, another way to handle this gracefully would be to have the default argument for File.dirname be the caller's __FILE__. At least 90% of the File.dirname invocations that I write have __FILE__ as their argument, so this would remove a good deal of redundancy. -Phil http://technomancy.us