Actions
Bug #10690
closedTempfile new ArgumentError wrong number of arguments
Description
After updating to 2.2.0, I ran into an ArgumentError when calling Tempfile.new (wrong number of arguments (3 for 1..2).
I was able to narrow it down to this sample script which works on 2.1.3 and fails on 2.2.0.
require 'tempfile' p Tempfile.new('asdf', Dir.tmpdir, 'wb+')
Files
Actions
Like0
Like0