diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb index db5ed97..70bd010 100644 --- a/lib/tmpdir.rb +++ b/lib/tmpdir.rb @@ -158,7 +158,7 @@ def create(basename, tmpdir=nil, max_try: nil, **opts) n ||= 0 n += 1 retry if !max_try or n < max_try - raise "cannot generate temporary name using `#{basename}' under `#{tmpdir}'" + raise "cannot generate temporary name using '#{basename}' under '#{tmpdir}'" end path end