described about `Tempfile.create(anonymous: true)`.

This commit is contained in:
Tanaka Akira 2024-06-01 15:18:31 +09:00
Родитель 3ee83c73c3
Коммит 1eb651fb50
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -89,6 +89,11 @@ The following bundled gems are promoted from default gems.
See GitHub releases like [GitHub Releases of Logger](https://github.com/ruby/logger/releases) or changelog for details of the default gems or bundled gems.
* The keyword argument `anonymous: true` is implemented for `Tempfile.create`.
`Tempfile.create(anonymous: true)` removes the created temporary file immediately.
So applications don't need to remove the file.
[[Feature #20497]]
## Supported platforms
## Compatibility issues