Skip to content

Commit

Permalink
Removed extra '.' for File.temp_name method on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Jun 25, 2012
1 parent 5c0cb80 commit 69f1151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/file/temp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def close
#
def self.temp_name
if File::ALT_SEPARATOR
TMPDIR + tmpnam(nil) << '.tmp'
TMPDIR + tmpnam(nil) << 'tmp'
else
tmpnam(nil) << '.tmp'
end
Expand Down

0 comments on commit 69f1151

Please sign in to comment.