[1.8.7] Ability to specify suffix/extension for Tempfile
--------------------------------------------------------
Key: JRUBY-2694
URL: http://jira.codehaus.org/browse/JRUBY-2694
Project: JRuby
Issue Type: New Feature
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.2
Environment: Latest JRuby
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Fix For: JRuby 1.1.3
>From 1.8.7 changelog:
{noformat}
* tempfile
* Tempfile.open and Tempfile.new now accept a suffix for the
temporary file to be created. To specify a suffix, pass an array
of [basename, suffix] as the first argument.
Tempfile.open(['image', 'jpg']) { |tempfile| ... }
{noformat}
Will fix.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email