# File lib/construct/helpers.rb, line 17 def create_construct(chdir=true) path = (Pathname(Construct.tmpdir) + "#{CONTAINER_PREFIX}-#{$PROCESS_ID}-#{rand(1_000_000_000)}") path.mkpath path.extend(PathExtensions) path.construct__chdir_default = chdir path end