method
join
join(dir, base)
private
Hide source
# File lib/fileutils.rb, line 1489 def join(dir, base) return File.path(dir) if not base or base == '.' return File.path(base) if not dir or dir == '.' File.join(dir, base) end