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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
#3 Updated by sonots (Naotoshi Seo) almost 2 years 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!