Merge pull request #4471 from MikeMcQuaid/requirement-mktemp

requirement: add mktemp function.
This commit is contained in:
Mike McQuaid 2018-07-14 09:29:11 +01:00 committed by GitHub
commit 7d40a212c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,12 @@ class Requirement
name
end
def mktemp
Mktemp.new(name).run do |staging|
yield staging
end
end
private
def infer_name