Actions
Feature #11965
closedprovide default basename parameter Tempfile.create
Description
Tempfile.new have default basename from 2.3.0
https://github.com/ruby/ruby/commit/05c108cdba62545bb50616726f0b7261cb89ad4e
So, I propose that Tempfile.create also set default basename.
Files
Updated by ksss (Yuki Kurihara) almost 9 years ago
- Description updated (diff)
Updated by sonots (Naotoshi Seo) about 8 years ago
- Status changed from Open to Closed
Applied in changeset r56251.
- lib/tempfile.rb: provide default basename parameter
for Tempfile.create. [Feature #11965] Patch by Yuki Kurihara - test/test_tempfile.rb: ditto.
Updated by sonots (Naotoshi Seo) about 8 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!
Actions
Like0
Like0Like0Like0