Method: HttpdConfigmapGenerator::Base::FileHelper#path_join

Defined in:
lib/httpd_configmap_generator/base/file_helper.rb

#path_join(*args) ⇒ Object



44
45
46
47
48
# File 'lib/httpd_configmap_generator/base/file_helper.rb', line 44

def path_join(*args)
  path = Pathname.new(args.shift)
  args.each { |path_seg| path = path.join("./#{path_seg}") }
  path
end