Skip to content
New issue

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

Fix temp file name #9

Merged
merged 1 commit into from
Jun 24, 2012
Merged

Fix temp file name #9

merged 1 commit into from
Jun 24, 2012

Conversation

doz
Copy link
Contributor

@doz doz commented Jun 6, 2012

Second parameter of Tempfile#new is location but not extension.

Tempfile.new("name", '.html')
=> #File:[...]/.html/name20120606-34108-1wmka7b
Tempfile.new(["name", '.html'], 'tmp')
=> #File:[...]/tmp/name20120606-34108-sc8g1b.html

igor-alexandrov added a commit that referenced this pull request Jun 24, 2012
@igor-alexandrov igor-alexandrov merged commit 22b615a into igor-alexandrov:master Jun 24, 2012
@igor-alexandrov
Copy link
Owner

Thanks for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants