diff options
author | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-24 05:35:05 +0000 |
---|---|---|
committer | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-24 05:35:05 +0000 |
commit | 892e8efd47343925b76cd12da965109f084a1817 (patch) | |
tree | 54b77c84ef59fd12022c2cb333d61a1195d42acb /NEWS | |
parent | ded754f33d89a0ae2f5fdbc567ea18639e28eb33 (diff) |
fix documents. __dir__ is a shorthand File.realdirpath(__FILE__).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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: |