provide default basename parameter Tempfile.create
Tempfile.new have default basename from 2.3.0
So, I propose that Tempfile.create also set default basename.
- lib/tempfile.rb: provide default basename parameter for Tempfile.create. [Feature #11965] Patch by Yuki Kurihara
- test/test_tempfile.rb: ditto.
#3 Updated by sonots (Naotoshi Seo) 9 months ago
- Assignee set to sonots (Naotoshi Seo)
I also wanted to have default basename parameter for Tempfile.create as Tempfile.new, and found this issue.
I believe nobody have objections to this change, so committed to trunk.
If anyone has any objections, please let me know.
Thanks for the patch!