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