class WsdlMapperTesting::TmpPath
Public Class Methods
new()
click to toggle source
# File lib/wsdl_mapper_testing/tmp_path.rb, line 3 def initialize @path = File.join ::TEST_TMP_PATH, SecureRandom.hex(5) FileUtils.mkdir_p @path end
Public Instance Methods
join(*args)
click to toggle source
# File lib/wsdl_mapper_testing/tmp_path.rb, line 8 def join(*args) File.join @path, *args end
to_s()
click to toggle source
# File lib/wsdl_mapper_testing/tmp_path.rb, line 12 def to_s @path end
unlink()
click to toggle source
# File lib/wsdl_mapper_testing/tmp_path.rb, line 16 def unlink FileUtils.rm_rf @path end