зеркало из https://github.com/github/ruby.git
described about `Tempfile.create(anonymous: true)`.
This commit is contained in:
Родитель
3ee83c73c3
Коммит
1eb651fb50
5
NEWS.md
5
NEWS.md
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче