We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Ruby 2.1 you had to do:
Dir::Tmpname.make_tmpname(["prefix", ""], nil) Dir::Tmpname.make_tmpname(["prefix", ".ext"], nil) Dir::Tmpname.make_tmpname(["", ".ext"], nil)
In 2.2+ the second value of the array is optional so you can do:
Dir::Tmpname.make_tmpname(["prefix"], nil)
if you do not wish to have an extension.
The text was updated successfully, but these errors were encountered:
Hmm...well Tmpname comes from tmpdir.rb which is just stdlib. I'll try to figure why we differ here.
Sorry, something went wrong.
Update tmpdir.rb from 2.3 and add to sync globals. Fixes #3646.
ceb153d
No branches or pull requests
In Ruby 2.1 you had to do:
In 2.2+ the second value of the array is optional so you can do:
if you do not wish to have an extension.
The text was updated successfully, but these errors were encountered: