summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2023-02-09 13:34:37 -0800
committerJeremy Evans <code@jeremyevans.net>2023-03-24 11:18:57 -0700
commit836e9a192ba4fdc56a2d3d94f5840869f77fd3bf (patch)
treefe69ae558f9f382ca7f8826f8349405eed9055d1 /NEWS.md
parent3be65f63c79492908e898d8d7281035445a2b9a1 (diff)
downloadruby-836e9a192ba4fdc56a2d3d94f5840869f77fd3bf.tar.gz
Add Dir.for_fd
This returns a Dir instance for the given directory file descriptor. If fdopendir is not supported, this raises NotImplementedError. Implements [Feature #19347]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 386d5594bb..f52ddbb914 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -17,6 +17,8 @@ Note: We're only listing outstanding class updates.
* Dir
+ * `Dir.for_fd` added for returning a Dir object for the directory specified
+ by the provided directory file descriptor. [[Feature #19347]]
* `Dir.fchdir` added for changing the directory to the directory specified
by the provided directory file descriptor. [[Feature #19347]]
* `Dir#chdir` added for changing the directory to the directory specified