module TestConstruct
Constants
- CONTAINER_PREFIX
- VERSION
Public Class Methods
destroy_all!()
click to toggle source
# File lib/test_construct.rb, line 17 def self.destroy_all! Pathname.glob(File.join(tmpdir, CONTAINER_PREFIX + "*")) do |container| container.rmtree end end
tmpdir()
click to toggle source
# File lib/test_construct.rb, line 11 def self.tmpdir dir = nil Dir.chdir Dir.tmpdir do dir = Dir.pwd end # HACK FOR OS X dir end