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:
Dir.mktmpdir do |dir| dir = Pathname(dir) # ... code end
I would like to be able to instead:
Pathname.mktmpdir do |dir| # ... code end
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:
I would like to be able to instead: