method
fu_each_src_dest0
fu_each_src_dest0(src, dest)
private
Hide source
# File lib/fileutils.rb, line 1401 def fu_each_src_dest0(src, dest) #:nodoc: if tmp = Array.try_convert(src) tmp.each do |s| s = File.path(s) yield s, File.join(dest, File.basename(s)) end else src = File.path(src) if File.directory?(dest) yield src, File.join(dest, File.basename(src)) else yield src, File.path(dest) end end end