summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 1 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 4994614448..5b4dde3c5d 100644
--- a/NEWS
+++ b/NEWS
@@ -74,8 +74,7 @@ with all sufficient information, see the ChangeLog file.
* Kernel
* added method:
* added Kernel#Hash conversion method like Array() or Float().
- * added Kernel#__dir__ which returns the absolute path of the
- directory of the file from which this method is called.
+ * added Kernel#__dir__, a shorthand for File.realdirpath(__FILE__).
* added Kernel#caller_locations which returns an array of
frame information objects.
* extended method: