diff options
| author | schneems <richard.schneeman+foo@gmail.com> | 2020-10-27 13:54:23 -0500 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-10-04 11:15:33 +0900 |
| commit | 08346e7267b4f17ae207d67543d5f78c2541dc86 (patch) | |
| tree | 423ac74bcb74580e1aa3404d25d51a4427f11ec9 /include/ruby.h | |
| parent | e90862f0edc08400183c81e08b7a20d5449f6f9b (diff) | |
Introduce Pathname.mktmpdir
When I want to create a tmpdir I often want to manipulate it as a pathname. By introducing Pathname.mktmpdir I can get this behavior.
Currently I must:
```ruby
Dir.mktmpdir do |dir|
dir = Pathname(dir)
# ... code
end
```
I would like to be able to instead:
```ruby
Pathname.mktmpdir do |dir|
# ... code
end
```
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3709
Diffstat (limited to 'include/ruby.h')
0 files changed, 0 insertions, 0 deletions
