Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 0696a772f7
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (12 sloc) 0.187 kb
module EnvSpecs
def self.with_temp_ENV()
orig = ENV.to_hash
comspec = ENV['COMSPEC']
begin
ENV.clear
yield
ensure
ENV.replace orig
end
end
end
Jump to Line
Something went wrong with that request. Please try again.