Project

General

Profile

Bug #10616

Dir.mktmpdir is not setting "d" prefix as default

Added by alex_slynko (Alex Slynko) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
2.2.0.preview1, 2.2.0.preview2
[ruby-core:66943]

Description

In Ruby < 2.2.0 when nil was passed as first parameter it was changed to "d"
In latest version this behaviour was changed and now 'd' is default value, but if nil was passed Exception is raised.

I attached tiny patch to this.


Files

ruby-changes.patch (518 Bytes) ruby-changes.patch alex_slynko (Alex Slynko), 12/18/2014 10:38 AM

Also available in: Atom PDF