summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-24 06:55:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-24 06:55:24 +0000
commitcc6e6de22f08a857174813cc90e8e378c71fbef9 (patch)
tree88a411d665451fd7a92aa0be91596b436b6573cf /NEWS
parent41d6ba8765f0d856ce5cca293531f717b068ee3f (diff)
re-fix documents
File.realdirpath(path) is not a shorthand for File.dirname(File.realpath(path)), just does not err if the last component does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5b4dde3c5d..4994614448 100644
--- a/NEWS
+++ b/NEWS
@@ -74,7 +74,8 @@ with all sufficient information, see the ChangeLog file.
* Kernel
* added method:
* added Kernel#Hash conversion method like Array() or Float().
- * added Kernel#__dir__, a shorthand for File.realdirpath(__FILE__).
+ * added Kernel#__dir__ which returns the absolute path of the
+ directory of the file from which this method is called.
* added Kernel#caller_locations which returns an array of
frame information objects.
* extended method: