method
join
join(dir, base)
private
Hide source
# File lib/fileutils.rb, line 1380 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