Douglas Eichelberger 9075cbae62 brew style --fix
2023-04-21 09:58:50 -07:00

15 lines
284 B
Ruby

# frozen_string_literal: true
module Test
module Helper
module MkTmpDir
def mktmpdir(prefix_suffix = nil)
new_dir = Pathname.new(Dir.mktmpdir(prefix_suffix, HOMEBREW_TEMP))
return yield new_dir if block_given?
new_dir
end
end
end
end