diff options
author | Jeremy Evans <code@jeremyevans.net> | 2023-02-09 13:34:37 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2023-03-24 11:18:57 -0700 |
commit | 836e9a192ba4fdc56a2d3d94f5840869f77fd3bf (patch) | |
tree | fe69ae558f9f382ca7f8826f8349405eed9055d1 /NEWS.md | |
parent | 3be65f63c79492908e898d8d7281035445a2b9a1 (diff) | |
download | ruby-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.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |