mktemp: delete invalid default prefix argument

This commit is contained in:
fn ⌃ ⌥ 2021-10-06 11:05:02 -07:00 committed by GitHub
parent 4d5af40662
commit 95e406174d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ class Mktemp
# Path to the tmpdir used in this run, as a {Pathname}. # Path to the tmpdir used in this run, as a {Pathname}.
attr_reader :tmpdir attr_reader :tmpdir
def initialize(prefix = name, opts = {}) def initialize(prefix, opts = {})
@prefix = prefix @prefix = prefix
@retain = opts[:retain] @retain = opts[:retain]
@quiet = false @quiet = false