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